mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] some istype to macros (#9802)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
73486c399b
commit
ed79946ade
@@ -192,7 +192,7 @@
|
||||
|
||||
/obj/random/outside_mob/spawn_item()
|
||||
. = ..()
|
||||
if(istype(., /mob/living/simple_mob))
|
||||
if(isanimal(.))
|
||||
var/mob/living/simple_mob/this_mob = .
|
||||
this_mob.faction = src.faction
|
||||
if (this_mob.minbodytemp > 200) // Temporary hotfix. Eventually I'll add code to change all mob vars to fit the environment they are spawned in.
|
||||
|
||||
Reference in New Issue
Block a user