From 019ed16a8cd408d82fac533e1ec8736a60716d18 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Tue, 20 Sep 2022 16:42:33 +0200 Subject: added gm checks for erase and event enable --- world/map/npc/033-1/kimarr.txt | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3-60-g2f50