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