add debug mode check to ship commands

This commit is contained in:
_nebula 2023-09-20 22:15:38 +01:00
parent 1c69450bb1
commit 54821a010f

View File

@ -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)