Piras314
cf247d1e4e
Fix Night Vision ( #1554 )
...
<!--
This is a semi-strict format, you can add/remove sections as needed but
the order/format should be kept the same
Remove these comments before submitting
-->
# Description
<!--
Explain this PR in as much detail as applicable
Some example prompts to consider:
How might this affect the game? The codebase?
What might be some alternatives to this?
How/Who does this benefit/hurt [the game/codebase]?
-->
Fixes the bug where you could put a mouse on your head and get free
night vision. This works by adding a bool to the
SwitchableVisionOverlayComponent `IsEquipment` that will be checked for
before granting the thermal/night vision action. Port of
https://github.com/Goob-Station/Goob-Station/pull/1448
---
<!--
This is default collapsed, readers click to expand it and see all your
media
The PR media section can get very large at times, so this is a good way
to keep it clean
The title is written using HTML tags
The title must be within the <summary> tags or you won't see it
-->
<details><summary><h1>Media</h1></summary>
<p>
No night vision with the mouse on your head:

Goggles still work:

</p>
</details>
---
# Changelog
<!--
You can add an author after the `🆑 ` to change the name that appears
in the changelog (ex: `🆑 Death`)
Leaving it blank will default to your GitHub display name
This includes all available types for the changelog
-->
🆑 Piras314, Aviu
- fix: Fixed being able to get night vision from putting a mouse on your
head.
---------
Signed-off-by: VMSolidus <evilexecutive@gmail.com >
Co-authored-by: Aviu00 <93730715+Aviu00@users.noreply.github.com >
Co-authored-by: VMSolidus <evilexecutive@gmail.com >
(cherry picked from commit 03b7a8a6bfbbc13bc9b7bd27fe414086500592be)
2025-01-15 23:55:38 +03:00
..
2025-01-14 02:21:27 +03:00
2025-01-14 02:12:04 +03:00
2025-01-14 01:50:42 +03:00
2025-01-14 23:57:35 +03:00
2025-01-14 00:13:42 +03:00
2025-01-15 18:10:13 +03:00
2025-01-14 02:02:07 +03:00
2025-01-14 02:18:31 +03:00
2025-01-14 02:02:07 +03:00
2024-07-11 19:49:43 -07:00
2024-11-21 17:49:04 +07:00
2025-01-14 02:18:31 +03:00
2024-10-19 13:24:03 +07:00
2025-01-14 00:13:42 +03:00
2024-10-19 14:53:37 +07:00
2025-01-14 00:13:42 +03:00
2024-10-19 14:53:37 +07:00
2025-01-14 02:02:30 +03:00
2025-01-14 00:13:42 +03:00
2024-12-14 10:41:27 +02:00
2025-01-14 23:57:35 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-15 18:10:13 +03:00
2024-08-05 18:11:37 +01:00
2025-01-14 01:44:26 +03:00
2025-01-15 18:30:09 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 00:13:42 +03:00
2024-06-17 11:12:29 +01:00
2025-01-14 23:57:35 +03:00
2025-01-14 02:18:31 +03:00
2025-01-14 02:02:37 +03:00
2024-10-19 13:15:15 +07:00
2025-01-14 02:29:32 +03:00
2025-01-14 00:13:42 +03:00
2024-11-21 17:49:04 +07:00
2024-12-06 21:00:42 +03:00
2024-07-11 21:23:10 -07:00
2025-01-14 02:01:43 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:02:45 +03:00
2024-11-21 17:49:04 +07:00
2024-07-11 17:40:02 -07:00
2025-01-14 00:13:42 +03:00
2025-01-15 18:12:10 +03:00
2025-01-14 00:35:20 +03:00
2025-01-15 18:30:09 +03:00
2025-01-14 02:03:12 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 01:44:26 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 00:13:42 +03:00
2024-10-19 14:53:37 +07:00
2025-01-14 00:13:42 +03:00
2024-11-21 17:49:04 +07:00
2024-05-13 00:58:39 -04:00
2024-12-15 23:48:19 +10:00
2024-12-14 10:41:27 +02:00
2025-01-14 00:13:42 +03:00
2025-01-15 00:12:29 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 00:13:42 +03:00
2024-07-12 15:02:15 -04:00
2025-01-14 02:09:30 +03:00
2024-12-14 10:41:27 +02:00
2025-01-14 02:21:27 +03:00
2025-01-14 00:13:42 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 02:01:43 +03:00
2025-01-14 02:18:31 +03:00
2025-01-14 00:13:42 +03:00
2024-10-19 14:53:37 +07:00
2024-12-14 10:41:27 +02:00
2024-10-19 14:53:37 +07:00
2024-11-01 02:58:24 +03:00
2024-10-19 12:53:54 +07:00
2025-01-14 02:18:31 +03:00
2024-11-21 17:49:04 +07:00
2024-10-19 14:53:37 +07:00
2025-01-14 02:18:31 +03:00
2024-08-15 03:11:05 -04:00
2024-11-21 17:49:04 +07:00
2025-01-14 00:13:42 +03:00
2024-05-04 21:53:21 -04:00
2024-11-21 17:49:04 +07:00
2024-10-19 14:53:37 +07:00
2025-01-14 02:02:07 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:37:13 +03:00
2024-10-19 14:53:37 +07:00
2025-01-14 01:11:28 +03:00
2024-11-21 17:49:04 +07:00
2024-09-09 23:06:49 +07:00
2025-01-15 00:12:29 +03:00
2025-01-14 01:43:27 +03:00
2025-01-15 18:11:06 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-13 22:36:14 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 23:57:35 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 01:57:25 +03:00
2025-01-14 00:13:42 +03:00
2025-01-15 18:17:49 +03:00
2024-05-13 00:58:39 -04:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:01:57 +03:00
2024-12-14 10:41:27 +02:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2024-11-25 01:20:13 +07:00
2024-11-21 17:49:04 +07:00
2025-01-14 01:44:43 +03:00
2025-01-14 02:15:25 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:32:37 +03:00
2025-01-13 23:01:51 +03:00
2025-01-14 02:18:31 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:02:07 +03:00
2024-10-19 14:53:37 +07:00
2024-12-06 19:42:33 +03:00
2025-01-15 18:22:46 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:02:37 +03:00
2025-01-14 00:13:42 +03:00
2024-11-21 17:49:04 +07:00
2025-01-15 23:55:38 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 00:13:42 +03:00
2024-10-19 14:53:37 +07:00
2024-03-08 12:54:53 +01:00
2024-10-19 14:53:37 +07:00
2025-01-14 02:12:04 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2024-07-11 21:41:02 -07:00
2024-12-14 10:41:27 +02:00
2025-01-14 00:13:42 +03:00
2024-12-14 10:41:27 +02:00
2024-10-19 14:53:37 +07:00
2025-01-14 02:09:30 +03:00
2025-01-15 18:17:49 +03:00
2025-01-14 02:29:51 +03:00
2024-05-11 23:14:58 -04:00
2025-01-14 01:31:56 +03:00
2025-01-14 02:18:31 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 01:57:46 +03:00
2025-01-14 02:02:07 +03:00
2024-11-21 17:49:04 +07:00
2024-08-09 12:13:13 +01:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:03:12 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2024-10-19 14:53:37 +07:00
2024-07-11 17:40:02 -07:00
2024-12-14 10:41:27 +02:00
2025-01-14 02:13:47 +03:00
2024-07-05 13:28:44 -04:00
2024-11-21 17:49:04 +07:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:09:11 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 01:02:39 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:02:37 +03:00
2024-12-14 10:41:27 +02:00
2024-11-21 17:49:04 +07:00
2024-11-21 17:49:04 +07:00
2025-01-15 00:32:17 +03:00
2025-01-14 00:13:42 +03:00
2025-01-15 00:12:29 +03:00
2025-01-14 01:10:36 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 01:32:29 +03:00
2024-12-14 10:41:27 +02:00
2024-08-07 16:18:35 -07:00
2025-01-15 00:12:29 +03:00
2024-05-28 23:36:53 -04:00
2025-01-14 00:13:42 +03:00
2025-01-15 00:12:29 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-13 23:01:51 +03:00
2025-01-14 02:03:21 +03:00
2025-01-14 00:13:42 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 00:13:42 +03:00
2025-01-13 23:01:51 +03:00
2025-01-14 01:32:29 +03:00
2025-01-14 23:57:35 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 23:57:35 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:02:07 +03:00
2025-01-14 02:02:07 +03:00
2024-08-02 17:41:53 -07:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-15 00:12:29 +03:00
2025-01-14 01:02:39 +03:00
2024-10-19 13:02:04 +07:00
2024-11-21 17:49:04 +07:00
2025-01-14 00:13:42 +03:00
2024-07-11 17:40:02 -07:00
2024-11-21 17:49:04 +07:00
2024-10-19 14:53:37 +07:00
2024-10-19 14:53:37 +07:00
2025-01-14 00:13:42 +03:00
2024-12-14 10:41:27 +02:00
2025-01-14 00:13:42 +03:00
2025-01-14 01:32:29 +03:00
2025-01-15 00:12:29 +03:00
2024-08-05 21:52:32 -07:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:01:50 +03:00
2024-07-11 19:49:36 -07:00
2024-10-19 14:53:37 +07:00
2025-01-14 23:57:35 +03:00
2024-11-21 17:49:04 +07:00
2025-01-14 02:15:57 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 00:13:42 +03:00
2025-01-14 02:01:43 +03:00
2024-10-19 14:53:37 +07:00
2025-01-14 00:13:42 +03:00
2024-10-19 14:53:37 +07:00