Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/scripting/StarUtilityLuaBindings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/scripting/StarUtilityLuaBindings.cpp')
-rw-r--r--source/game/scripting/StarUtilityLuaBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/scripting/StarUtilityLuaBindings.cpp b/source/game/scripting/StarUtilityLuaBindings.cpp
index 3dad9a2..1bec4c9 100644
--- a/source/game/scripting/StarUtilityLuaBindings.cpp
+++ b/source/game/scripting/StarUtilityLuaBindings.cpp
@@ -124,7 +124,7 @@ String LuaBindings::formatLua(String const& string, List<LuaValue> const& args)
else if (*next == 's')
result += toString(popArg());
else
- throw StarException::format("Improper lua log format specifier %%%c", *next);
+ throw StarException::format("Improper lua log format specifier {}", (char)*next);
++next;
stringIt = next;
} else {