mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 12:13:06 +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
@@ -242,7 +242,7 @@
|
||||
if(step_towards(src, pick(can_go)))
|
||||
return
|
||||
for(var/mob in loc)
|
||||
if(istype(mob, /mob/living/bot) && mob != src) // Same as above, but we also don't want to have bots ontop of bots. Cleanbots shouldn't stack >:(
|
||||
if(isbot(mob) && mob != src) // Same as above, but we also don't want to have bots ontop of bots. Cleanbots shouldn't stack >:(
|
||||
var/turf/my_turf = get_turf(src)
|
||||
var/list/can_go = my_turf.CardinalTurfsWithAccess(botcard)
|
||||
if(LAZYLEN(can_go))
|
||||
|
||||
Reference in New Issue
Block a user