summaryrefslogtreecommitdiff
path: root/npc/011-3/flood.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-06 20:16:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-06 20:16:57 -0300
commit8cdc57f0e9b77fe21634eb7e32c3934cd036730d (patch)
treef19b79d84fe66811aee29fcde11b79e69f3d8877 /npc/011-3/flood.txt
parent238095b40b63fc393520f9014c4bcf036f2365c1 (diff)
downloadserverdata-8cdc57f0e9b77fe21634eb7e32c3934cd036730d.tar.gz
serverdata-8cdc57f0e9b77fe21634eb7e32c3934cd036730d.tar.bz2
serverdata-8cdc57f0e9b77fe21634eb7e32c3934cd036730d.tar.xz
serverdata-8cdc57f0e9b77fe21634eb7e32c3934cd036730d.zip
Add an auto-restart scheduler (external bash scripts)
Diffstat (limited to 'npc/011-3/flood.txt')
-rw-r--r--npc/011-3/flood.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/011-3/flood.txt b/npc/011-3/flood.txt
index 9bf9b2684..db9ac6888 100644
--- a/npc/011-3/flood.txt
+++ b/npc/011-3/flood.txt
@@ -31,6 +31,8 @@ OnMinute42:
OnMinute46:
OnMinute52:
OnMinute56:
+ // Check if auto-restart was scheduled
+ SchedRestart();
OnSkipFlood:
if ($@GM_OVERRIDE) debugmes "[Flood] Cycle begin";
.@fd=!(getmapmask("011-3")&MASK_SPECIAL); // .@fd - is flooded?