summaryrefslogtreecommitdiff
path: root/npc/003-0-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-11-07 00:25:17 -0300
committerJesusaves <cpntb1@ymail.com>2022-11-07 00:25:17 -0300
commit1ce45e518bec34cbefe1efa56b776a08ba4e68be (patch)
treecc8c080c7c9bada782d0ff6531cdc684e0549d00 /npc/003-0-1
parent5c65874cc82bc7e33b86cad89619470bb40073be (diff)
downloadserverdata-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.txt1
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)