mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-11-09 03:49:12 +01:00
engine: common: no point to allow if and else commands in unprivileged mode since scripting is available only for privileged
This commit is contained in:
parent
cb0f513bf0
commit
af7d6f6fa8
@ -1395,8 +1395,8 @@ void Cmd_Init( void )
|
||||
#endif // XASH_DEDICATED
|
||||
Cmd_AddRestrictedCommand( "alias", Cmd_Alias_f, "create a script function. Without arguments show the list of all alias" );
|
||||
Cmd_AddRestrictedCommand( "unalias", Cmd_UnAlias_f, "remove a script function" );
|
||||
Cmd_AddCommand( "if", Cmd_If_f, "compare and set condition bits" );
|
||||
Cmd_AddCommand( "else", Cmd_Else_f, "invert condition bit" );
|
||||
Cmd_AddRestrictedCommand( "if", Cmd_If_f, "compare and set condition bits" );
|
||||
Cmd_AddRestrictedCommand( "else", Cmd_Else_f, "invert condition bit" );
|
||||
|
||||
#if defined(XASH_HASHED_VARS)
|
||||
Cmd_AddCommand( "basecmd_stats", BaseCmd_Stats_f, "print info about basecmd usage" );
|
||||
|
Loading…
Reference in New Issue
Block a user