Merge pull request #4343 from Citadel-Station-13/upstream-merge-33451

[MIRROR] Fixes the free worker bee getting stuck in the hive and never leaving
This commit is contained in:
deathride58
2017-12-13 01:24:01 +00:00
committed by GitHub

View File

@@ -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