From ad2e1d597b5ac1ed4f07309b5a9d2ba107f750e7 Mon Sep 17 00:00:00 2001 From: Wyrrrd Date: Wed, 6 Nov 2024 21:50:31 +0100 Subject: [PATCH] Fix typo --- control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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