diff --git a/control.lua b/control.lua index 66dc353..4f339c6 100644 --- a/control.lua +++ b/control.lua @@ -208,7 +208,7 @@ local function generate_alerts() player.add_custom_alert(entity, {type = "virtual", name = "ammo-icon-red"}, {"gun-turret-alerts.message-empty", entity.localised_name}, true) elseif ammo_flag == false then -- low ammo alert - playr.add_custom_alert(entity, {type = "virtual", name = "ammo-icon-yellow"}, {"gun-turret-alerts.message-low", entity.localised_name}, true) + player.add_custom_alert(entity, {type = "virtual", name = "ammo-icon-yellow"}, {"gun-turret-alerts.message-low", entity.localised_name}, true) end end else