mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
makes broken chameleon kit items immune to being EMP'd to unbreak them (#82495)
## About The Pull Request Broken chameleon kits can be EMP'd to un-break them. This fixes that and makes them permanently broken. ## Why It's Good For The Game Patching a possible exploit Fixes #82454 ## Changelog Broken chameleon kits can't be unbroken by an EMP. 🆑 fix: Broken chameleon kits can't be unbroken by an EMP. /🆑
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
do { \
|
||||
var/datum/action/item_action/chameleon/change/_action = locate() in item.actions; \
|
||||
_action?.emp_randomise(INFINITY); \
|
||||
item.AddElement(/datum/element/empprotection, EMP_PROTECT_SELF); \
|
||||
} while(FALSE)
|
||||
|
||||
// Cham jumpsuit
|
||||
|
||||
Reference in New Issue
Block a user