Files
Bubberstation/code/datums/elements
SkyratBot 126c293dff [MIRROR] Fixes tool-based flashes being stuck at intensity 1 (#28018)
* Fixes tool-based flashes being stuck at intensity 1 (#83703)

## About The Pull Request
A long-old bug due to the use of `min(flash_strength, 1)`. The intention
was clearly to have the flash be *at least* level 1, because
flash_strength defaults to nothing but can be set to 2. However,
`min(x,y)` uses the lowest value, making it always return 1. So we
change it to `max()`.
## Why It's Good For The Game
Bugfix. Sunglasses users cope.
## Changelog
🆑
fix: Tool-based flashes (read: from welders) are no longer incorrectly
locked at flash level 1. Wear proper PPE!
/🆑

* Fixes tool-based flashes being stuck at intensity 1

---------

Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
2024-06-07 08:05:54 +02:00
..
2024-04-16 06:05:57 +00:00
2024-04-29 21:15:33 +02:00
2024-03-13 04:07:27 +01:00
2024-03-01 19:05:23 +01:00
2024-05-18 17:39:28 +02:00
2024-04-04 14:48:31 -04:00
2024-04-29 21:15:33 +02:00
2024-01-19 14:02:59 +00:00
2024-04-28 22:24:01 +02:00
2024-04-28 22:24:01 +02:00
2024-04-28 22:24:01 +02:00
2024-04-28 22:24:01 +02:00