mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 21:57:53 +01:00
[MIRROR] some istype to macros (#9802)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
73486c399b
commit
ed79946ade
@@ -325,7 +325,7 @@ var/list/mining_overlay_cache = list()
|
||||
if(!density)
|
||||
return .
|
||||
|
||||
if(istype(AM,/mob/living/carbon/human))
|
||||
if(ishuman(AM))
|
||||
var/mob/living/carbon/human/H = AM
|
||||
var/obj/item/pickaxe/P = H.get_inactive_hand()
|
||||
if(istype(P))
|
||||
|
||||
Reference in New Issue
Block a user