Miscellaneous appearance fixes. (#57133)

* Fixes modular computer runtimes

- Adds a proc to eat the source arg of the update icon signal.

* Fixes a couple things not passing the right args

- Fixes the alien leap hallucination passing a string as the first arg to updat_icon
- Fixes the roulette machine passing the payout as the first arg to update_icon.
This commit is contained in:
TemporalOroboros
2021-03-02 15:18:59 -08:00
committed by GitHub
parent 490670a0aa
commit a3e6a135f5
9 changed files with 65 additions and 47 deletions
+2 -2
View File
@@ -293,11 +293,11 @@ GLOBAL_LIST_INIT(hallucination_list, list(
to_chat(target, "<span class='notice'>[xeno.name] begins climbing into the ventilation system...</span>")
stage = XENO_ATTACK_STAGE_FINISH
if (XENO_ATTACK_STAGE_LEAP_AT_PUMP to XENO_ATTACK_STAGE_CLIMB)
xeno.update_icon("alienh_leap",'icons/mob/alienleap.dmi', -32, -32)
xeno.update_icon(ALL, "alienh_leap", 'icons/mob/alienleap.dmi', -32, -32)
xeno.throw_at(pump_location, 7, 1, spin = FALSE, diagonals_first = TRUE)
stage = XENO_ATTACK_STAGE_CLIMB
if (XENO_ATTACK_STAGE_LEAP_AT_TARGET to XENO_ATTACK_STAGE_LEAP_AT_PUMP)
xeno.update_icon("alienh_leap",'icons/mob/alienleap.dmi', -32, -32)
xeno.update_icon(ALL, "alienh_leap", 'icons/mob/alienleap.dmi', -32, -32)
xeno.throw_at(target, 7, 1, spin = FALSE, diagonals_first = TRUE)
stage = XENO_ATTACK_STAGE_LEAP_AT_PUMP