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:
parent
d8b483ef65
commit
479d9993df
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue