mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Protean Stripping fixes (#5432)
Requires #5420 to be merged. ## About The Pull Request See changelog ## Why It's Good For The Game Bug fixes are good. Especially fixing bugs that brick you. ## Proof Of Testing  ## Changelog 🆑 fix: Click dragging a protean modsuit onto yourself no longer unequips it, bricking you. del: Removed the Control Click Stripping functionality from Protean modsuits. It's now only click dragging. /🆑
This commit is contained in:
@@ -85,6 +85,8 @@
|
||||
COOLDOWN_DECLARE(cooldown_mod_move)
|
||||
/// Person wearing the MODsuit.
|
||||
var/mob/living/carbon/human/wearer
|
||||
/// BUBBER EDIT - For Proteans Primarily. To stop them
|
||||
var/drag_pickup = TRUE
|
||||
|
||||
/obj/item/mod/control/Initialize(mapload, datum/mod_theme/new_theme, new_skin, obj/item/mod/core/new_core)
|
||||
. = ..()
|
||||
@@ -107,7 +109,8 @@
|
||||
module = new module(src)
|
||||
install(module)
|
||||
START_PROCESSING(SSobj, src)
|
||||
AddElement(/datum/element/drag_pickup)
|
||||
if(drag_pickup) // BUBBER EDIT
|
||||
AddElement(/datum/element/drag_pickup) // BUBBER EDIT END
|
||||
|
||||
/obj/item/mod/control/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
Reference in New Issue
Block a user