Step Element runtime fix (#8708)

This commit is contained in:
Guti
2024-07-30 04:23:05 +02:00
committed by GitHub
parent eaabcceed8
commit 52f27cb4f7

View File

@@ -43,8 +43,6 @@
footstep_ret = GLOB.lightclawfootstep
if(FOOTSTEP_MOB_CLAW)
footstep_ret = GLOB.clawfootstep
if(FOOTSTEP_MOB_BAREFOOT)
footstep_ret = GLOB.barefootstep
if(FOOTSTEP_MOB_HEAVY)
footstep_ret = GLOB.heavyfootstep
if(FOOTSTEP_MOB_SHOE)
@@ -53,6 +51,8 @@
footstep_ret = 'modular_chomp/sound/effects/footstep/slime1.ogg'
if(FOOTSTEP_MOB_SLITHER)
footstep_ret = 'modular_chomp/sound/effects/footstep/crawl1.ogg'
else
footstep_ret = GLOB.barefootstep
return footstep_ret
/datum/element/footstep/Detach(atom/movable/source)