mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +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
@@ -167,7 +167,7 @@ var/world_topic_spam_protect_time = world.timeofday
|
||||
continue
|
||||
admins[C.key] = C.holder.rank
|
||||
players += C.key
|
||||
if(istype(C.mob, /mob/living))
|
||||
if(isliving(C.mob))
|
||||
active++
|
||||
|
||||
s["players"] = players.len
|
||||
@@ -335,7 +335,7 @@ var/world_topic_spam_protect_time = world.timeofday
|
||||
info["hasbeenrev"] = M.mind ? M.mind.has_been_rev : "No mind"
|
||||
info["stat"] = M.stat
|
||||
info["type"] = M.type
|
||||
if(istype(M, /mob/living))
|
||||
if(isliving(M))
|
||||
var/mob/living/L = M
|
||||
info["damage"] = list2params(list(
|
||||
oxy = L.getOxyLoss(),
|
||||
|
||||
Reference in New Issue
Block a user