diff --git a/scripts/commands/requestwaypointatposition.py b/scripts/commands/requestwaypointatposition.py index 60b932ce..2acdedc3 100644 --- a/scripts/commands/requestwaypointatposition.py +++ b/scripts/commands/requestwaypointatposition.py @@ -6,9 +6,7 @@ def setup(): def run(core, actor, target, commandString): commandArgs = commandString.split("(^-,=+_)color_13548(,+-=_^)=1") - newString = commandArgs[0] - print (newString) - cmdService = core.commandService - cmdService.callCommand(actor, 'waypoint', None, newString) # No need to re-create a script + + core.commandService.callCommand(actor, 'waypoint', None, newString) return \ No newline at end of file diff --git a/scripts/commands/waypoint.py b/scripts/commands/waypoint.py index 5e2802c4..029fe3ad 100644 --- a/scripts/commands/waypoint.py +++ b/scripts/commands/waypoint.py @@ -74,7 +74,6 @@ def run(core, actor, target, commandString): waypoint.setActive(True) waypoint.setColor(WaypointObject.BLUE) name = commandString.split(" ", 5) - print (name) if name == "": name = "Waypoint"