1
0
mirror of https://github.com/Wyrrrd/Gun_Turret_Alerts.git synced 2026-05-29 13:42:28 +02:00

Fixed migration breaking multiplayer

Removed migration, fixed missing car index through on_config_changed
This commit is contained in:
Wyrrrd
2021-04-02 14:20:20 +02:00
parent 2b5f19052e
commit 846fb1412e
3 changed files with 10 additions and 6 deletions
+7 -1
View File
@@ -2,7 +2,13 @@
--This mod scans the map for cars and gun-turrets and places alerts when they are low.
script.on_init(function (event)
-- car and turret index init
-- index init
global.turret_entities = {}
global.car_entities = {}
end)
script.on_configuration_changed(function (event)
-- index init fix
global.turret_entities = {}
global.car_entities = {}
end)