[Manual MIRROR] dmapi manual update port (#11138)

This commit is contained in:
Kashargul
2025-07-03 23:30:00 +02:00
committed by GitHub
parent 7d7ef755ee
commit c71ab6c9bd
48 changed files with 1101 additions and 629 deletions
+1 -1
View File
@@ -152,7 +152,7 @@
// we are wearing shoes
var/obj/item/clothing/shoes/feet = source.shoes
if(feet.blocks_footsteps)
if(istype(feet) && feet.blocks_footsteps)
var/shoestep_type = prepared_steps[FOOTSTEP_MOB_SHOE]
if(!isnull(shoestep_type) && footstep_sounds[shoestep_type]) // shoestep type can be null
playsound(source.loc, pick(footstep_sounds[shoestep_type][1]),