mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Improve COM_AddCommand boolean deprecated warning
This commit is contained in:
parent
7e9922febf
commit
2ba99dac90
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue