Skip to content

Commit

Permalink
Lets make sure that syntax is correct.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero-Percent-Angel committed Aug 20, 2023
1 parent 29e5e5c commit 0b64775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/clothing/suits/power_armor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
ADD_TRAIT(user, TRAIT_PUSHIMMUNE, "PA_push_immunity")
ADD_TRAIT(user, SPREAD_CONTROL, "PA_spreadcontrol")
ADD_TRAIT(user, TRAIT_POWER_ARMOR, "PA_worn_trait") // General effects from being in PA
add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/pa_speedmod, multiplicative_slowdown = ARMOR_SLOWDOWN_PA * ARMOR_SLOWDOWN_GLOBAL_MULT)
user.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/pa_speedmod, multiplicative_slowdown = ARMOR_SLOWDOWN_PA * ARMOR_SLOWDOWN_GLOBAL_MULT)

/obj/item/clothing/suit/armor/power_armor/dropped(mob/user)
..()
Expand All @@ -93,7 +93,7 @@
REMOVE_TRAIT(user, TRAIT_PUSHIMMUNE, "PA_push_immunity")
REMOVE_TRAIT(user, SPREAD_CONTROL, "PA_spreadcontrol")
REMOVE_TRAIT(user, TRAIT_POWER_ARMOR, "PA_worn_trait")
remove_movespeed_modifier(/datum/movespeed_modifier/pa_speedmod, update=TRUE)
user.remove_movespeed_modifier(/datum/movespeed_modifier/pa_speedmod, update=TRUE)

/obj/item/clothing/suit/armor/power_armor/Destroy()
. = ..()
Expand Down

0 comments on commit 0b64775

Please sign in to comment.