From bb594deab492570e4ca2b715874ceaae82c07224 Mon Sep 17 00:00:00 2001 From: balloonpopper <5151242+balloonpopper@users.noreply.github.com> Date: Sun, 1 May 2022 04:03:49 +1000 Subject: [PATCH] fix:removed debug.gd after it was accidently readded with PR569 (#590) Co-authored-by: Balloonpopper --- .../game/core-scripts/esc/commands/debug.gd | 26 ------------------- .../game/core-scripts/esc/commands/print.gd | 2 +- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 addons/escoria-core/game/core-scripts/esc/commands/debug.gd diff --git a/addons/escoria-core/game/core-scripts/esc/commands/debug.gd b/addons/escoria-core/game/core-scripts/esc/commands/debug.gd deleted file mode 100644 index 5b41540f..00000000 --- a/addons/escoria-core/game/core-scripts/esc/commands/debug.gd +++ /dev/null @@ -1,26 +0,0 @@ -# `debug string [string2 ...]` -# -# Prints a DEBUG-level message to the log. -# -# **Parameters** -# -# - *string*: One or more strings to log -# -# @ESC -extends ESCBaseCommand -class_name DebugCommand - - -# Return the descriptor of the arguments of this command -func configure() -> ESCCommandArgumentDescriptor: - return ESCCommandArgumentDescriptor.new( - 1, - [TYPE_ARRAY], - [[""]] - ) - - -# Run the command -func run(command_params: Array) -> int: - escoria.logger.debug("debug command issued", command_params) - return ESCExecution.RC_OK diff --git a/addons/escoria-core/game/core-scripts/esc/commands/print.gd b/addons/escoria-core/game/core-scripts/esc/commands/print.gd index 4e602718..1403e3f3 100644 --- a/addons/escoria-core/game/core-scripts/esc/commands/print.gd +++ b/addons/escoria-core/game/core-scripts/esc/commands/print.gd @@ -1,4 +1,4 @@ -# `debug string [string2 ...]` +# `print string` # # Prints a message to the Godot debug window. # Use this for debugging game state.