mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
add debug mode check to ship commands
This commit is contained in:
parent
1c69450bb1
commit
54821a010f
@ -60,6 +60,11 @@ public class CommandInterpreter : MonoBehaviour, IAddComponentOnStart
|
||||
|
||||
public static void ShipCommand(string[] arguments)
|
||||
{
|
||||
if (!QSBCore.DebugSettings.DebugMode)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var command = arguments[0];
|
||||
|
||||
switch (command)
|
||||
|
Loading…
Reference in New Issue
Block a user