diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-22 16:46:49 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-22 16:46:49 +0000 |
commit | fb32cb1b780c1169a834c951bc0c928199a2b59e (patch) | |
tree | e2435cc869fed0fa3f7c3d187335d2350b8b1e14 /Northstar.CustomServers/mod/scripts/vscripts/_mapspawn.gnut | |
parent | dade102a0d4d14ba5ee560022b8e2f1ddf960977 (diff) | |
download | NorthstarMods-fb32cb1b780c1169a834c951bc0c928199a2b59e.tar.gz NorthstarMods-fb32cb1b780c1169a834c951bc0c928199a2b59e.zip |
playtest fixes
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/_mapspawn.gnut')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/_mapspawn.gnut | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_mapspawn.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_mapspawn.gnut index 3efee093..73e76910 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/_mapspawn.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/_mapspawn.gnut @@ -208,9 +208,12 @@ var function CodeCallback_ClientCommand( entity player, array<string> args ) } else { - printl( "############################" ) - printl( "CommandString: " + commandString + " was not added via AddClientCommandCallback but is being called in CodeCallback_ClientCommand" ) - printl( "############################" ) + if ( GetConVarBool( "ns_should_log_unknown_clientcommands" ) ) + { + printl( "############################" ) + printl( "CommandString: " + commandString + " was not added via AddClientCommandCallback but is being called in CodeCallback_ClientCommand" ) + printl( "############################" ) + } return false } } |