Merge pull request #44202 from Garen7/cultFix

Twisted construction fix
This commit is contained in:
oranges
2019-06-02 09:35:18 +12:00
committed by GitHub
@@ -237,6 +237,8 @@
/proc/makeNewConstruct(mob/living/simple_animal/hostile/construct/ctype, mob/target, mob/stoner = null, cultoverride = 0, loc_override = null)
if(QDELETED(target))
return
var/mob/living/simple_animal/hostile/construct/newstruct = new ctype((loc_override) ? (loc_override) : (get_turf(target)))
if(stoner)
newstruct.faction |= "[REF(stoner)]"