zxaber
f26e2bb58c
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!
/🆑
2024-06-06 00:41:40 -04:00
..
2024-05-29 21:23:36 +02:00
2024-03-11 02:57:23 +00:00
2024-04-04 18:55:51 -06:00
2024-03-27 16:01:56 -06:00
2024-04-25 12:36:04 +01:00
2024-03-27 16:01:56 -06:00
2024-04-13 15:30:14 -06:00
2024-05-02 20:03:41 -06:00
2024-05-16 19:54:00 -07:00
2024-03-27 16:40:52 -06:00
2024-03-03 19:55:23 +00:00
2024-03-27 16:01:56 -06:00
2024-03-05 18:19:39 -07:00
2024-03-17 15:52:41 -04:00
2024-02-29 04:24:10 +00:00
2024-01-26 02:23:24 +01:00
2024-05-29 14:22:25 -04:00
2024-05-25 21:08:08 -07:00
2024-01-16 19:35:56 -06:00
2024-02-13 17:07:16 +01:00
2024-05-28 14:05:31 -06:00
2024-04-21 17:13:23 -06:00
2024-04-10 18:58:11 -07:00
2024-03-15 17:23:47 -04:00
2024-06-02 02:52:52 +01:00
2024-04-16 17:37:46 -06:00
2024-01-17 04:38:13 -05:00
2024-03-18 21:10:57 +01:00
2024-05-22 23:11:45 -06:00
2024-02-12 20:50:20 +01:00
2024-04-13 15:30:14 -06:00
2024-05-16 23:46:03 +02:00
2024-03-29 22:26:35 -06:00
2024-04-25 12:36:04 +01:00
2024-02-10 13:39:01 -08:00
2024-01-16 20:57:42 +01:00
2024-04-17 18:57:35 +01:00
2024-05-16 19:54:00 -07:00
2024-05-22 23:11:45 -06:00
2024-05-08 19:40:16 -06:00
2024-04-18 05:17:39 -07:00
2024-05-27 10:48:14 -06:00
2024-04-06 15:24:12 -06:00
2024-02-13 17:07:16 +01:00
2024-04-12 13:47:52 -04:00
2024-06-06 00:41:40 -04:00
2024-04-12 03:30:32 +00:00
2024-03-07 09:21:12 -07:00
2024-02-10 18:57:19 +01:00
2024-02-17 17:17:18 +00:00
2024-04-18 19:53:57 -04:00
2024-02-27 01:33:12 +00:00