From 1fb5dcfb73f6abf49d828879cb1e3b117924df93 Mon Sep 17 00:00:00 2001 From: depyraken Date: Sat, 2 Apr 2016 19:00:08 +0200 Subject: [PATCH] troubleshooting --- primitives/newbieland/fisherman.primitive | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/primitives/newbieland/fisherman.primitive b/primitives/newbieland/fisherman.primitive index 50968d4..c624f6e 100644 --- a/primitives/newbieland/fisherman.primitive +++ b/primitives/newbieland/fisherman.primitive @@ -1798,17 +1798,13 @@ // $botEid, $playerEid BCaddPlayer(){ BCP = 0; - switch(v0){ - case 0:{ // No one is fishing + if(v0 == 0){ // No one is fishing NoOneIsFishing(); - } - case 1:{ // P1 is already fishing + } else if(v0 == 1){ // P1 is already fishing P1AlreadyFishing(); - } - case 2:{ // P2 is already fishing + } else if(v0 == 2){ // P2 is already fishing P2AlreadyFishing(); - } - case 3: // P1 and P2 are already fishing + } else if(v0 == 3){ // P1 and P2 are already fishing ()phraseEndSystemMsg(0, "shout", "TOO_MANY_PLAYERS_ARE_FISHING"); } }