wookieejedi
50935e540e
Fix scripting copy-paste bug and other minor optimizations ( #7684 )
...
* Fix scripting copy-paste bug
The iterators for secondary banks for lua access had a copy-paste bug from primaries, so we should fix that. The early == -1 break masks it whenever a ship uses 3 or fewer secondary banks, which is probably why it went unnoticed.
Also add some additional low-hanging fruit optimizations.
* radar distance and other cleanup
* clang
2026-08-05 23:09:57 -04:00
..
2026-07-09 11:20:25 +09:00
2026-08-05 23:09:57 -04:00
2026-04-30 00:35:19 -04:00
2026-07-20 23:04:56 -04:00
2025-04-06 02:11:52 -04:00
2026-07-23 15:52:27 +02:00
2026-07-11 21:02:36 -04:00
2026-07-09 11:20:25 +09:00
2026-05-07 14:40:38 +09:00
2026-07-21 16:58:21 +00:00
2026-03-05 15:15:56 -05:00
2026-08-04 15:49:46 -04:00
2026-07-26 14:33:00 +01:00
2026-07-21 16:58:21 +00:00
2026-07-20 23:04:56 -04:00
2026-07-23 15:52:27 +02:00
2026-07-21 16:58:21 +00:00
2026-08-02 06:29:02 +02:00
2024-12-22 22:31:58 +01:00
2026-07-23 15:52:27 +02:00
2026-07-09 11:20:25 +09:00
2026-07-09 11:20:25 +09:00
2024-02-27 13:09:34 -05:00
2026-05-30 23:45:22 +02:00
2026-08-01 23:49:27 -04:00
2026-08-03 15:52:34 +02:00
2026-07-23 15:52:27 +02:00
2026-07-28 19:42:24 -04:00
2026-03-22 15:00:25 -04:00
2025-08-18 11:59:22 -04:00
2026-08-04 15:49:46 -04:00
2025-06-05 17:53:13 -04:00
2026-07-19 22:25:33 -04:00
2026-05-26 12:21:43 +02:00
2026-08-01 19:46:57 +02:00
2026-05-12 11:31:20 -04:00
2026-08-03 15:52:34 +02:00
2026-07-28 19:42:24 -04:00
2026-07-09 11:20:25 +09:00
2026-07-21 16:58:21 +00:00
2026-08-04 22:14:58 -04:00
2026-08-04 23:10:07 -04:00
2026-07-30 03:23:56 -04:00
2026-07-21 16:58:21 +00:00
2026-07-29 21:02:37 -04:00
2026-05-28 14:43:48 +09:00
2026-08-04 22:14:58 -04:00
2026-08-05 23:09:57 -04:00
2025-02-22 19:29:11 -05:00
2026-08-01 19:46:57 +02:00
2026-08-01 19:46:57 +02:00
2026-08-03 22:21:13 -04:00
2026-07-26 14:33:00 +01:00
2026-04-30 00:35:19 -04:00
2025-08-18 11:56:39 -04:00
2026-08-04 22:14:58 -04:00
2026-07-28 01:08:07 -04:00
2025-06-05 17:53:13 -04:00
2026-07-09 11:20:25 +09:00
2026-07-20 23:04:56 -04:00
2026-08-05 23:09:57 -04:00
2026-07-21 16:58:21 +00:00
2026-08-01 19:46:57 +02:00
2026-08-05 23:09:57 -04:00
2026-07-28 19:42:24 -04:00
2026-07-23 15:52:27 +02:00
2026-05-07 14:40:38 +09:00
2026-07-21 16:58:21 +00:00
2026-05-30 02:21:22 -04:00
2025-06-05 17:53:13 -04:00
2026-07-21 16:58:21 +00:00
2026-07-23 15:52:27 +02:00
2026-07-14 13:23:37 -04:00
2026-07-28 19:42:24 -04:00
2026-07-23 15:52:27 +02:00
2026-07-26 13:57:57 -04:00
2020-08-29 11:26:16 +02:00
2026-07-21 16:58:21 +00:00
2026-08-04 15:49:46 -04:00