Fixes the free worker bee getting stuck in the hive and never leaving (#33451)

ten outta ten code
This commit is contained in:
oranges
2017-12-13 10:57:24 +13:00
committed by CitadelStationBot
parent a6283110fa
commit 181afe9640
@@ -102,7 +102,7 @@
if((bee_resources >= BEE_RESOURCE_NEW_BEE_COST && prob(BEE_PROB_NEW_BEE)) || freebee)
if(!freebee)
bee_resources = max(bee_resources - BEE_RESOURCE_NEW_BEE_COST, 0)
var/mob/living/simple_animal/hostile/poison/bees/B = new(src)
var/mob/living/simple_animal/hostile/poison/bees/B = new(get_turf(src))
B.beehome = src
B.assign_reagent(queen_bee.beegent)
bees += B