Skip to content

Commit

Permalink
fix: interrupt not implemented messages changed to debug from warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Balloonpopper authored and StraToN committed Nov 8, 2022
1 parent 3fd339c commit 0e397c4
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion addons/escoria-core/game/core-scripts/esc/commands/anim.gd
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func validate(arguments: Array):

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
2 changes: 1 addition & 1 deletion addons/escoria-core/game/core-scripts/esc/commands/say.gd
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func run(command_params: Array) -> int:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.warn(
escoria.logger.debug(
self,
"[%s] interrupt() function not implemented." % get_command_name()
)
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func get_command_name() -> String:

# Function called when the command is interrupted.
func interrupt():
escoria.logger.trace(
escoria.logger.debug(
self,
"Command %s did not override interrupt. Please implement an interrupt() function." % get_command_name()
)

0 comments on commit 0e397c4

Please sign in to comment.