1
0
mirror of https://github.com/Wyrrrd/Gun_Turret_Alerts.git synced 2026-06-06 17:20:20 +02:00

Scan rework, car fix & multislot fix

- only scanning for forces with connected players
- only scanning on init, updating with entities when they are built/removed
- no alerts for cars without guns
- added multislot behaviour
This commit is contained in:
Wyrrrd
2021-04-21 10:28:24 +02:00
parent fa2781aee2
commit 87c2c17d72
2 changed files with 116 additions and 21 deletions
+7 -4
View File
@@ -1,12 +1,15 @@
---------------------------------------------------------------------------------------------------
Version: 1.1.5
Date: 2021-04-19
Date: 2021-04-21
Features:
- Added config option to change behaviour on multiple ammo slots (for cars)
- Added config option to change behaviour on multiple ammo slots (mainly for cars)
Bugfixes:
- Fixed only checking for first ammo slot in cars
- Fixed only checking first ammo slot in cars
- Fixed modded cars without guns causing ammo empty alerts (AAI)
Optimisations:
- Theoretical performance improvement by not scanning surfaces twice anymore (once for turrets and once for cars)
- Only scanning surfaces for forces with connected players
- Only scanning surfaces on init now, updating by single entities as they are build or removed
- Only scanning surfaces once instead of twice (once for turrets and once for cars)
---------------------------------------------------------------------------------------------------
Version: 1.1.4
Date: 2021-04-02