Ammo Alerts

by Wyrrrd

Adds map alerts for players when a gun turret, vehicle or artillery is either out of ammo or has low ammo.

Utilities
11 days ago
0.18 - 2.0
41.2K

b [Fixed] Another crash

12 days ago

I was trying to mine a steel chest with some uranium 238 in it and the moment I clicked the chest the game crashed.

Error while running event Gun_Turret_Alerts::on_surface_deleted (ID 65)
Gun_Turret_Alerts/control.lua:141: bad argument #3 of 3 to 'index' (string expected, got nil)
stack traceback:
[C]: in function '__index'
__Gun_Turret_Alerts
/control.lua:141: in function <Gun_Turret_Alerts/control.lua:133>

It was happening on Nauvis if that helps. Some time ago (maybe 30 minutes) I deconstructed a space station and brought back all items before I erased the station.

12 days ago
(updated 12 days ago)

Yup, thanks for reporting. The function for surface deletion (= space station deconstruction) looked like I just stopped typing at some point...

Should be fixed in 2.0.4 2.0.5

New response