Local Lua commands + no magic numbers
Use COM_LOCAL
as the third argument of COM_AddCommand
to make your command local only. That means don't send a NetXCmd, because those suck!
The magic flags 1
and 2
have become COM_ADMIN
and COM_SPLITSCREEN
.
Splitscreen commands no longer give secondarydisplayplayer
to the command function.
Edited by James R.