mirror of
https://github.com/Wyrrrd/Gun_Turret_Alerts.git
synced 2026-06-03 15:56:38 +02:00
Fix surface handling fuckup for real
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.0.5
|
||||||
|
Date: 2024-11-09
|
||||||
|
Bugfixes:
|
||||||
|
- Really fix the crash on surface deletion
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.0.4
|
Version: 2.0.4
|
||||||
Date: 2024-11-09
|
Date: 2024-11-09
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
|||||||
+1
-1
@@ -236,7 +236,7 @@ script.on_event(defines.events.on_force_created, add_force_to_list)
|
|||||||
script.on_event(defines.events.on_forces_merged, remove_force_from_list)
|
script.on_event(defines.events.on_forces_merged, remove_force_from_list)
|
||||||
|
|
||||||
script.on_event(defines.events.on_surface_renamed, remove_surface_from_list)
|
script.on_event(defines.events.on_surface_renamed, remove_surface_from_list)
|
||||||
script.on_event(defines.events.on_surface_deleted, remove_surface_from_list)
|
script.on_event(defines.events.on_pre_surface_deleted, remove_surface_from_list)
|
||||||
|
|
||||||
script.on_event(defines.events.on_built_entity, add_entity_to_list, {{filter="type", type = "ammo-turret"},{filter="type", type = "car"},{filter="type", type = "spider-vehicle"},{filter="type", type = "artillery-turret"},{filter="type", type = "artillery-wagon"}})
|
script.on_event(defines.events.on_built_entity, add_entity_to_list, {{filter="type", type = "ammo-turret"},{filter="type", type = "car"},{filter="type", type = "spider-vehicle"},{filter="type", type = "artillery-turret"},{filter="type", type = "artillery-wagon"}})
|
||||||
script.on_event(defines.events.on_robot_built_entity, add_entity_to_list, {{filter="type", type = "ammo-turret"},{filter="type", type = "car"},{filter="type", type = "spider-vehicle"},{filter="type", type = "artillery-turret"},{filter="type", type = "artillery-wagon"}})
|
script.on_event(defines.events.on_robot_built_entity, add_entity_to_list, {{filter="type", type = "ammo-turret"},{filter="type", type = "car"},{filter="type", type = "spider-vehicle"},{filter="type", type = "artillery-turret"},{filter="type", type = "artillery-wagon"}})
|
||||||
|
|||||||
Reference in New Issue
Block a user