added machine item slots so ican start building gameplay
This commit is contained in:
@@ -64,7 +64,7 @@ func runCommand(message: String):
|
||||
if (arg.begins_with("\"") and arg.ends_with("\"")) or (arg.begins_with("'") and arg.ends_with("'")):
|
||||
arg = arg.substr(1, arg.length() - 2)
|
||||
commandArgs.append(arg)
|
||||
if commandArgs.size() > 0:
|
||||
if commandArgs.size() > 0:
|
||||
var command_name = commandArgs[0]
|
||||
if Commands.has(command_name):
|
||||
Commands[command_name].runCommand(commandArgs.slice(1))
|
||||
|
||||
Reference in New Issue
Block a user