From b51f59f2cde6da56f2e72607ae766830473a5847 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 21 Jun 2018 11:45:54 -0300 Subject: Fix bug on Event Master, blame Saulc --- npc/001-1/eventmaster.txt | 2 +- npc/commands/scheduled-broadcasts.txt | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt index 2b511659a..bc80cb71a 100644 --- a/npc/001-1/eventmaster.txt +++ b/npc/001-1/eventmaster.txt @@ -478,7 +478,7 @@ L_Plants: mes "Completed."; mes "Total spawns: "+str(@log_spawns); next; - goto L_Plant; + goto L_Plants; L_Agr: diff --git a/npc/commands/scheduled-broadcasts.txt b/npc/commands/scheduled-broadcasts.txt index ca57f8d2f..78515e09e 100644 --- a/npc/commands/scheduled-broadcasts.txt +++ b/npc/commands/scheduled-broadcasts.txt @@ -8,8 +8,7 @@ function script StoneBoard { next; input .@msg$; .@msg$ = strip(.@msg$); - if (.@msg$ != "") - { + if (.@msg$ != "") { return .@msg$; } mes l("The message cannot be empty"); @@ -34,8 +33,7 @@ function script StoneBoard { } function setMaxRep { - if (getarg(0,0) == 0) - { + if (getarg(0,0) == 0) { return 0; } clear; -- cgit v1.2.3-60-g2f50