From 1eaf534b126349a421dc0525ec161513560d4e49 Mon Sep 17 00:00:00 2001 From: AzuleUtama <44248086+AzuleUtama@users.noreply.github.com> Date: Sun, 20 Jan 2019 14:41:45 +0000 Subject: [PATCH] Fixes negative bees --- code/game/objects/items/weapons/bee_briefcase.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/bee_briefcase.dm b/code/game/objects/items/weapons/bee_briefcase.dm index 9e702f3b276..f370e186bcf 100644 --- a/code/game/objects/items/weapons/bee_briefcase.dm +++ b/code/game/objects/items/weapons/bee_briefcase.dm @@ -56,6 +56,7 @@ playsound(loc, 'sound/effects/spray3.ogg', 50, 1, -6) /obj/item/bee_briefcase/attack_self(mob/user as mob) + var/bees_released if(!bees_left) to_chat(user, "The lack of all and any bees at this event has been somewhat of a let-down...") return @@ -69,4 +70,5 @@ var/mob/living/simple_animal/hostile/poison/bees/syndi/B = new /mob/living/simple_animal/hostile/poison/bees/syndi(null) B.master_and_friends = blood_list.Copy() //Doesn't automatically add the person who opens the case, so the bees will attack the user unless they gave their blood B.forceMove(get_turf(user)) //RELEASE THE BEES! - bees_left -= 5 + bees_released++ + bees_left -= bees_released