Skip to content

Commit

Permalink
[MIRROR] makes broken chameleon kit items immune to being EMP'd to un…
Browse files Browse the repository at this point in the history
…break them (#2778)

* 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.
:cl:
fix: Broken chameleon kits can't be unbroken by an EMP.
/:cl:

* makes broken chameleon kit items immune to being EMP'd to unbreak them

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Joshua Kidder <[email protected]>
  • Loading branch information
3 people authored Apr 8, 2024
1 parent 5041c34 commit 6c34f56
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c34f56

Please sign in to comment.