mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
fixed incorrect memory warnings
This commit is contained in:
parent
1dd8a09bfd
commit
639afffcda
@ -278,6 +278,7 @@ void show_memory_menu() {
|
|||||||
|
|
||||||
bool protect_memory() {
|
bool protect_memory() {
|
||||||
if(!CAP_MEMORY_RESERVE) return false;
|
if(!CAP_MEMORY_RESERVE) return false;
|
||||||
|
apply_memory_reserve();
|
||||||
if(reserve_limit && reserve_count < reserve_limit && !ignored_memory_warning) {
|
if(reserve_limit && reserve_count < reserve_limit && !ignored_memory_warning) {
|
||||||
pushScreen(show_memory_menu);
|
pushScreen(show_memory_menu);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user