--- a/share/hedgewars/Data/Scripts/Multiplayer/Battalion.lua Wed Jun 28 21:16:14 2023 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Battalion.lua Wed Jun 28 23:41:38 2023 +0200
@@ -804,7 +804,7 @@
PlaySound(sndShotgunReload)
if GetRandom(100) < emptyCrateChance then
- AddCaption(loc("It's empty!"), msgColor, capgrpMessage)
+ AddCaption(GetEngineString("TMsgStrId", sidEmptyCrate), msgColor, capgrpMessage)
return
elseif GetRandom(100) < bonusCrateChance then
factor = 3
@@ -834,7 +834,7 @@
if GetRandom(100) < emptyCrateChance then
if IsHogLocal(CurHog) then
- AddCaption(loc("It's empty!"), msgColor, capgrpMessage)
+ AddCaption(GetEngineString("TMsgStrId", sidEmptyCrate), msgColor, capgrpMessage)
end
return
elseif GetRandom(100) < bonusCrateChance then
@@ -880,7 +880,7 @@
if GetRandom(100) < emptyCrateChance then
if IsHogLocal(CurHog) then
- AddCaption(loc("It's empty!"), msgColor, capgrpMessage)
+ AddCaption(GetEngineString("TMsgStrId", sidEmptyCrate), msgColor, capgrpMessage)
end
return
elseif GetRandom(100) < bonusCrateChance then