mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
DMAPI Update (#17935)
* DMAPI Update * Fix * More changes * InitTgs * . * css * urg * fix that * some linux fixes * . * . * . * update * . * pref fixing * . * those are already sent * . * . * . * fully off * fix that * New classes & Format * make this nicer * CSS Edits * . * eh use switch * . * Update client procs.dm * Hard restart counter * Improved Staffwho style --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -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]),
|
||||
|
||||
Reference in New Issue
Block a user