Skip to content

Commit

Permalink
Merge pull request #160 from honkpocket/various-fixes-again
Browse files Browse the repository at this point in the history
Various fixes again
  • Loading branch information
Nerev4r authored Oct 14, 2024
2 parents 58eb76a + e3ece8c commit 9b5cb15
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
hud_list[hud] = list()

else
var/image/I = image('icons/mob/huds/hud.dmi', src, "")
var/image/I = image('modular_doppler/overwrites/huds/hud.dmi', src, "") // DOPPLER EDIT, old code: var/image/I = image('icons/mob/huds/hud.dmi', src, "")
I.appearance_flags = RESET_COLOR|RESET_TRANSFORM
hud_list[hud] = I
set_hud_image_active(hud, update_huds = FALSE) //by default everything is active. but dont add it to huds to keep control.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
TRAIT_RESISTHEAT,
TRAIT_RESISTCOLD,
TRAIT_RESISTHIGHPRESSURE,*/
TRAIT_UNHUSKABLE,
TRAIT_STABLEHEART,
TRAIT_STABLELIVER,
)
Expand Down Expand Up @@ -84,6 +85,8 @@
to_chat(target, span_warning("Alert: Critical damage taken! Cooling systems failing!"))
do_sparks(3, FALSE, target)

if(target.stat == DEAD)
return
if(HAS_TRAIT(target, TRAIT_CHARGING))
return
if(core_energy > 0)
Expand Down
Binary file modified modular_doppler/overwrites/huds/hud.dmi
Binary file not shown.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/Orbit/JobIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type IconSettings = {
};

const normalIcon: IconSettings = {
dmi: 'modular_doppler/overwrites/huds/hud.dmi' /* Doppler station edit, old code: dmi: 'icons/mob/huds/hud.dmi', */,
dmi: 'icons/mob/huds/hud.dmi',
transform: 'scale(2.3) translateX(9px) translateY(1px)',
};

Expand Down

0 comments on commit 9b5cb15

Please sign in to comment.