mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
fixes bad arguments to /datum/footstep/Attach() (vary to sound_vary) (#61231)
#60479 changed the attach argument "vary" into "sound_vary" but didnt change the two associative arguments for vary to sound_vary. this does that. now Attach() wont runtime for the footstep element
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
var/obj/machinery/vending/vendor_pawn = new_pawn
|
||||
vendor_pawn.tiltable = FALSE //Not manually tiltable by hitting it anymore. We are now aggressively doing it ourselves.
|
||||
vendor_pawn.AddElement(/datum/element/waddling)
|
||||
vendor_pawn.AddElement(/datum/element/footstep, FOOTSTEP_OBJ_MACHINE, 1, -6, vary = TRUE)
|
||||
vendor_pawn.AddElement(/datum/element/footstep, FOOTSTEP_OBJ_MACHINE, 1, -6, sound_vary = TRUE)
|
||||
vendor_pawn.squish_damage = 15
|
||||
return ..() //Run parent at end
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
vendor_pawn.tiltable = TRUE
|
||||
vendor_pawn.RemoveElement(/datum/element/waddling)
|
||||
vendor_pawn.squish_damage = initial(vendor_pawn.squish_damage)
|
||||
RemoveElement(/datum/element/footstep, FOOTSTEP_OBJ_MACHINE, 1, -6, vary = TRUE)
|
||||
RemoveElement(/datum/element/footstep, FOOTSTEP_OBJ_MACHINE, 1, -6, sound_vary = TRUE)
|
||||
return ..() //Run parent at end
|
||||
|
||||
/datum/ai_controller/vending_machine/SelectBehaviors(delta_time)
|
||||
|
||||
Reference in New Issue
Block a user