1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-05 12:15:26 +01:00

Do not run paused timers >_<

This commit is contained in:
NeroOneTrueKing 2022-08-07 14:06:19 -05:00
parent d8b483ef65
commit 479d9993df

View file

@ -2984,7 +2984,7 @@ run_timers()
* any time. The list is ordered, we are done when the first element
* is in the future.
*/
while (timer_base && timer_base->timeout <= monstermoves) {
while (timer_base && timer_base->timeout <= monstermoves && timer_base != timer_paused) {
curr = timer_base;
timer_base = curr->next;
rem_locchain_tm(curr, owner_tm(curr->kind, curr->arg));