Skip to content

Commit

Permalink
Fixes and Funny
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumbgunner committed Nov 4, 2024
1 parent cdf5200 commit e69bc14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions code/modules/clothing/head/helmet.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1366,16 +1366,19 @@ GLOBAL_LIST_INIT(allowed_helmet_items, list(
if(pockets && length(pockets.contents) && (flags_marine_helmet & HELMET_GARB_OVERLAY))
var/list/above_band_layer = list()
var/list/below_band_layer = list()
var/has_helmet_band = TRUE
var/has_helmet_band = FALSE
for(var/obj/O in pockets.contents)
if(GLOB.allowed_helmet_items[O.type])
var/has_band = !HAS_FLAG(O.flags_obj, OBJ_NO_HELMET_BAND)
if(has_band)
has_helmet_band = TRUE
if(GLOB.allowed_helmet_items[O.type] == HELMET_GARB_RELAY_ICON_STATE)
if(has_helmet_band)
if(has_band)
above_band_layer += "wide_[O.icon_state]"
else
below_band_layer += "wide_[O.icon_state]"
else
if(has_helmet_band)
if(has_band)
above_band_layer += GLOB.allowed_helmet_items[O.type]
else
below_band_layer += GLOB.allowed_helmet_items[O.type]
Expand Down
Binary file modified icons/mob/humans/onmob/suit_1.dmi
Binary file not shown.
Binary file modified icons/obj/items/clothing/cm_suits.dmi
Binary file not shown.

0 comments on commit e69bc14

Please sign in to comment.