Skip to content

Commit

Permalink
Some update fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
izac112 committed Apr 25, 2024
1 parent 95279d3 commit d1d83c7
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 71 deletions.
2 changes: 1 addition & 1 deletion code/__defines/rust_g_yw.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

// savefile ser/de //
#define rustg_savefile_to_json(save_string) call(RUST_G, "savefile_to_json")(save_string)
#define rustg_savefile_to_json(save_string) LIBCALL(RUST_G, "savefile_to_json")(save_string)
Original file line number Diff line number Diff line change
Expand Up @@ -326,12 +326,12 @@
var/beforehealth = icon_living
var/healthpercent = health/maxHealth
switch(healthpercent)
if(0.25 to 0)
if(0 to 0.25)
icon_living = "snowbull-25"
if(0.50 to 0.26)
if(0.26 to 0.50)
icon_living = "snowbull-50"
if(0.75 to 0.51)
icon_living = "snowbull-75"
if(0.51 to 0.75)
icon_living = "snowbull-75"
if(0.76 to INFINITY)
icon_living = "snowbull-100"
if(beforehealth != icon_living)
Expand Down Expand Up @@ -412,6 +412,3 @@
holder.ISay(safepick(holder.say_list.say_stand_down))
playsound(holder, holder.say_list.stand_down_sound, 50, 1) // We do this twice to make the sound -very- noticable to the target.
playsound(target, holder.say_list.stand_down_sound, 50, 1) // Actual aim-mode also does that so at least it's consistant.



126 changes: 63 additions & 63 deletions tgui/public/tgui.bundle.js

Large diffs are not rendered by default.

0 comments on commit d1d83c7

Please sign in to comment.