diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-11-07 00:25:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-11-07 00:25:17 -0300 |
commit | 1ce45e518bec34cbefe1efa56b776a08ba4e68be (patch) | |
tree | cc8c080c7c9bada782d0ff6531cdc684e0549d00 /npc/003-0-1 | |
parent | 5c65874cc82bc7e33b86cad89619470bb40073be (diff) | |
download | serverdata-1ce45e518bec34cbefe1efa56b776a08ba4e68be.tar.gz serverdata-1ce45e518bec34cbefe1efa56b776a08ba4e68be.tar.bz2 serverdata-1ce45e518bec34cbefe1efa56b776a08ba4e68be.tar.xz serverdata-1ce45e518bec34cbefe1efa56b776a08ba4e68be.zip |
Some minor changes to make sure dead people will run only the correct timers
Diffstat (limited to 'npc/003-0-1')
-rw-r--r-- | npc/003-0-1/professor.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt index dff4fa9aa..025b11568 100644 --- a/npc/003-0-1/professor.txt +++ b/npc/003-0-1/professor.txt @@ -47,6 +47,7 @@ OnTimer3100: end; OnSpeeching: + if (ispcdead()) end; deltimer(.name$+"::OnSpeeching"); // safeguard // Max AFK time is determined as 30 minutes + 1 second every 10 minutes AFKed // Capped at 2 hours (you've AFK'ed 37 days and 12 hours - 900 hours) |