[MIRROR] Fixes a variety of input stalling exploits #2852
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Mirrored on Nova: NovaSector/NovaSector#1933
Original PR: tgstation/tgstation#82577
About The Pull Request
Fixes the following input stalling exploits (maybe missed some):
is_holding
but technically this means these fail with telekinesis. I can swap them tocan_perform_action(...)
, which allows TK, but I noticed some places explicitly deny TK interactions with Ai law boards. Not sure which is preferred.Changelog
🆑 Melbert
fix: You can't change the GPS tag of something unless you can actually use the GPS
fix: You can't set the teleporter to a location unless you can actually use the teleporter
fix: You can't reply to request console requests unless you can actually use the console
fix: You can't update AI lawboards unless you're actually holding them
fix: You can't update a borg rename board unless you're actually holding it
fix: You can't mess with plumbing machines unless you can actually use them
fix: You can't recolor / relayer ducts unless you're actually holding them
fix: You can't magically wire APCs and SMESs unless you're right by them
fix: You can't use Stargazer Telepathy on people who you can't see
fix: You can't configure the Inspector Hat unless you can actually use it
/:cl: