mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Improve COM_AddCommand boolean deprecated warning
This commit is contained in:
parent
802ef0aba1
commit
65921c1702
1 changed files with 3 additions and 2 deletions
|
@ -191,8 +191,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
|
||||
|
|
Loading…
Reference in a new issue