mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 02:07:57 +00:00
fixed incorrect memory warnings
This commit is contained in:
@@ -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