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

summaryrefslogtreecommitdiff
path: root/source/game/scripting/StarUtilityLuaBindings.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 19:24:35 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 19:24:35 +1000
commit14b9689b6d4f4ad5276c88130dc6e449bedc0709 (patch)
tree829e760821fb887470ba2a820d309db1428f7f17 /source/game/scripting/StarUtilityLuaBindings.cpp
parentc9e889723b7af832322d178975e6e440d6cd3ae5 (diff)
Change formatting to use fmtlib (STILL NEED TO CHANGE TO FMT SYNTAX!)
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 {