summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/event.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 5f8313ac9..9082317a2 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -104,7 +104,7 @@ function script GlobalEventMenu {
l("Enable Refeer Program"), -;
switch (@menu) {
- case 1: set $EVENT$, ""; logmes "Disabled events.", LOGMES_ATCOMMAND;
+ case 1: set $EVENT$, "";$REFERRAL_ENABLED=0; logmes "Disabled events.", LOGMES_ATCOMMAND;
break;
case 2: sEaster(); break;
case 3:
@@ -115,7 +115,7 @@ function script GlobalEventMenu {
debugmes "Snakes are now dropping Pearls.";
*/
break;
- case 4: $EVENT$="Refeer"; logmes "Enabled REFEER event.", LOGMES_ATCOMMAND;
+ case 4: $EVENT$="Refeer";$REFERRAL_ENABLED=1; logmes "Enabled REFEER event.", LOGMES_ATCOMMAND;
break;
}