mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Fixes flaggelant's robe spamming your chat with gravity messages (#91081)
## About The Pull Request Closes #91005 ## Changelog 🆑 fix: Fixed flaggelant's robe spamming your chat with gravity messages /🆑 Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
This commit is contained in:
@@ -268,12 +268,17 @@
|
||||
var/mob/living/carbon/wearer = loc
|
||||
if(!istype(wearer))
|
||||
return ..()
|
||||
if(IS_CULTIST(wearer) && gave_gravity)
|
||||
|
||||
if(IS_CULTIST(wearer))
|
||||
if (!gave_gravity)
|
||||
return
|
||||
wearer.RemoveElement(/datum/element/forced_gravity, gravity = 6, ignore_turf_gravity = TRUE, can_override = FALSE)
|
||||
gave_gravity = FALSE
|
||||
return
|
||||
|
||||
if(gave_gravity)
|
||||
return
|
||||
|
||||
gave_gravity = TRUE
|
||||
wearer.AddElement(/datum/element/forced_gravity, gravity = 6, ignore_turf_gravity = TRUE, can_override = FALSE)
|
||||
to_chat(wearer, span_warning("As you equip [src], everything begins to feel a whole lot heavier!"))
|
||||
|
||||
Reference in New Issue
Block a user