1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-17 18:59:59 +00:00

fixed incorrect memory warnings

This commit is contained in:
Zeno Rogue 2019-07-31 17:58:16 +02:00
parent 1dd8a09bfd
commit 639afffcda

View File

@ -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;