mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-27 02:54:30 +00:00
fixed incorrect memory warnings
This commit is contained in:
1 parent
1dd8a09bfd
commit
639afffcda
1 file changed
+1
@@ -278,6 +278,7 @@ void show_memory_menu() {
|
||||
|
||||
bool protect_memory() {
|
||||
if(!CAP_MEMORY_RESERVE) return false;
|
||||
apply_memory_reserve();
|
||||
if(reserve_limit && reserve_count < reserve_limit && !ignored_memory_warning) {
|
||||
pushScreen(show_memory_menu);
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user