diff options
author | HoraK-FDF <horak-fdf@web.de> | 2022-09-20 16:42:33 +0200 |
---|---|---|
committer | HoraK-FDF <horak-fdf@web.de> | 2022-09-20 16:42:33 +0200 |
commit | 019ed16a8cd408d82fac533e1ec8736a60716d18 (patch) | |
tree | 22840676a6419ec3aedf6b55e9e7a0412e5ef050 | |
parent | c162a60e28927e8d1eae9676df87438d7bc007e9 (diff) | |
download | serverdata-019ed16a8cd408d82fac533e1ec8736a60716d18.tar.gz serverdata-019ed16a8cd408d82fac533e1ec8736a60716d18.tar.bz2 serverdata-019ed16a8cd408d82fac533e1ec8736a60716d18.tar.xz serverdata-019ed16a8cd408d82fac533e1ec8736a60716d18.zip |
added gm checks for erase and event enable
-rw-r--r-- | world/map/npc/033-1/kimarr.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt index 9e2eda39..54e064f6 100644 --- a/world/map/npc/033-1/kimarr.txt +++ b/world/map/npc/033-1/kimarr.txt @@ -632,6 +632,7 @@ L_Menu: // If you want to erase a player and you are not sure if all will went good maybe backup the tmwa-server-data/world/map/save/mapreg.txt first L_Enable: + if (GM < G_EVENT) goto L_Decline; set $@KIMARR_EVENT, !$@KIMARR_EVENT; return; @@ -656,6 +657,7 @@ L_CRC_ShowNextRecord: // I let this here commented out in case someone wants to enable pause after 5 players. L_Erase: + if (GM < G_EVENT) goto L_Decline; if ($@Fluffy_Hunting) goto L_HuntRunning; if ($Record_CRC_Fluffy_Kills[0] == 0) goto L_NothingToErase; set @max_rank, getarraysize($Record_CRC_Fluffy_Kills); |