Skip to content

Commit

Permalink
Merge branch 'master' into translate
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 16, 2023
2 parents e301ac1 + 07390a4 commit 64f1237
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
8 changes: 4 additions & 4 deletions code/game/objects/effects/decals/cleanable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@

/obj/effect/decal/cleanable/Initialize(mapload)
. = ..()
var/datum/atom_hud/data/janitor/jani_hud = GLOB.huds[DATA_HUD_JANITOR]
prepare_huds()
jani_hud.add_to_hud(src)
jani_hud_set_sign()
if(try_merging_decal())
return TRUE
if(random_icon_states && length(src.random_icon_states) > 0)
Expand All @@ -96,10 +100,6 @@
QUEUE_SMOOTH_NEIGHBORS(src)
if(iswallturf(loc) && plane == FLOOR_PLANE)
plane = GAME_PLANE // so they can be seen above walls
var/datum/atom_hud/data/janitor/jani_hud = GLOB.huds[DATA_HUD_JANITOR]
prepare_huds()
jani_hud.add_to_hud(src)
jani_hud_set_sign()

/obj/effect/decal/cleanable/Destroy()
if(smoothing_flags)
Expand Down
3 changes: 0 additions & 3 deletions code/modules/clothing/clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,6 @@
icon_state = "[icon_state]_opentoe"
item_state = "[item_state]_opentoe"

/obj/item/proc/negates_gravity()
return

//Suit
/obj/item/clothing/suit
name = "suit"
Expand Down
3 changes: 0 additions & 3 deletions code/modules/clothing/shoes/magboots.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
if(HAS_TRAIT(user, TRAIT_MAGPULSE)) // User has trait and the magboots were turned off, remove trait
REMOVE_TRAIT(user, TRAIT_MAGPULSE, "magboots")

/obj/item/clothing/shoes/magboots/negates_gravity()
return flags & NOSLIP

/obj/item/clothing/shoes/magboots/examine(mob/user)
. = ..()
. += "Its [magpulse_name] appears to be [magpulse ? "enabled" : "disabled"]."
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_movement.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
. = 1

/mob/living/carbon/human/mob_negates_gravity()
return shoes && shoes.negates_gravity()
return HAS_TRAIT(src, TRAIT_MAGPULSE)

/mob/living/carbon/human/Move(NewLoc, direct)
. = ..()
Expand Down

0 comments on commit 64f1237

Please sign in to comment.