--- a/share/hedgewars/Data/Scripts/Multiplayer/Battalion.lua Mon Feb 12 11:03:48 2018 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Battalion.lua Mon Feb 12 14:50:06 2018 +0100
@@ -738,8 +738,8 @@
function getHogInfo(hog, info)
if hog == nil then
- AddCaption(loc("ERROR [getHogInfo]: Hog is nil!"), 0xFFFFFFFF, capgrpMessage)
- WriteLnToConsole(loc("ERROR [getHogInfo]: Hog is nil!"), 0xFFFFFFFF, capgrpMessage)
+ WriteLnToChat("ERROR [getHogInfo]: Hog is nil!")
+ WriteLnToConsole("ERROR [getHogInfo]: Hog is nil!")
return
end
@@ -752,8 +752,8 @@
function setHogInfo(hog)
if hog == nil then
- AddCaption(loc("ERROR [getHogInfo]: Hog is nil!"), 0xFFFFFFFF, capgrpMessage)
- WriteLnToConsole(loc("ERROR [getHogInfo]: Hog is nil!"), 0xFFFFFFFF, capgrpMessage)
+ WriteLnToChat("ERROR [getHogInfo]: Hog is nil!")
+ WriteLnToConsole("ERROR [getHogInfo]: Hog is nil!")
return
end