Skip to content

Commit 8d6f6a1

Browse files
committed
Fix typo
1 parent 9da3e95 commit 8d6f6a1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Shared/mods/deathmatch/logic/lua/CLuaFunctionParser.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,7 @@ struct CLuaFunctionParserBase
268268
T value = lua::PopPrimitive<T>(L, index);
269269
if (std::isnan(value))
270270
{
271-
SString strMessage("Expected number at argument %d, got NaN", index);
272-
SString strMessage("Bad argument @ '%s' [Expected number at argument %d, got NaN]", lua_tostring(L, lua_upvalueindex(1)), strExpected.c_str(),
273-
index);
271+
SString strMessage("Bad argument @ '%s' [Expected number at argument %d, got NaN]", lua_tostring(L, lua_upvalueindex(1)), index);
274272
strError = strMessage;
275273
}
276274
return value;

0 commit comments

Comments
 (0)