Fix for WorldPaused

Also consider the console rising to be unpaused.
This commit is contained in:
Boondorl 2025-07-03 12:08:30 -04:00 committed by Ricardo Luís Vaz Silva
commit 9a111931cf

View file

@ -510,7 +510,7 @@ int WorldPaused()
if (netgame || gamestate != GS_LEVEL)
return false;
return pauseext || menuactive == MENU_On || ConsoleState != c_up;
return pauseext || menuactive == MENU_On || ConsoleState == c_down || ConsoleState == c_falling;
}
DEFINE_ACTION_FUNCTION_NATIVE(FLevelLocals, WorldPaused, WorldPaused)