Improve COM_AddCommand boolean deprecated warning

This commit is contained in:
James R committed 2020-11-05 20:16:28 -08:00
1 parent 933ee4e961
commit 9f54ad4ea3
1 file changed
+3 -2
+3 -2
View File
@@ -190,8 +190,9 @@ static int lib_comAddCommand(lua_State *L)
if (lua_type(L, 3) == LUA_TBOOLEAN)
{
CONS_Alert(CONS_WARNING,
"Using a boolean is deprecated and will be removed.\n"
"Use \"COM_\" flags instead.\n"
"Using a boolean for admin commands is "
"deprecated and will be removed.\n"
"Use \"COM_ADMIN\" instead.\n"
);
}
else