diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-21 11:45:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-21 11:45:54 -0300 |
commit | b51f59f2cde6da56f2e72607ae766830473a5847 (patch) | |
tree | eaeb4a2b824a506d12a3e8eee7587d89ef9e1830 /npc | |
parent | c86f63657596c820cc9a9e886525bc08c349d83e (diff) | |
download | serverdata-b51f59f2cde6da56f2e72607ae766830473a5847.tar.gz serverdata-b51f59f2cde6da56f2e72607ae766830473a5847.tar.bz2 serverdata-b51f59f2cde6da56f2e72607ae766830473a5847.tar.xz serverdata-b51f59f2cde6da56f2e72607ae766830473a5847.zip |
Fix bug on Event Master, blame Saulc
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-1/eventmaster.txt | 2 | ||||
-rw-r--r-- | 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; |