Merge pull request #5599 from Mechoid/Watch_How_Easily_Mechoid_Forgets_Testing_Each_Revision

Nests don't spawn things in null.
This commit is contained in:
Anewbe
2018-09-23 11:50:51 -05:00
committed by GitHub
+1 -1
View File
@@ -51,7 +51,7 @@
if(istype(spawnpoint) && den_mobs.len < max_creatures)
last_spawn = world.time
var/spawn_choice = pick(creature_types)
var/mob/living/L = new spawn_choice
var/mob/living/L = new spawn_choice(spawnpoint)
if(den_faction)
L.faction = den_faction
visible_message("<span class='warning'>\The [L] crawls out of \the [src].</span>")