diff --git a/CHANGELOG.md b/CHANGELOG.md index 0efd85bf0..948d4633e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [4.0.0-alpha.262](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.262) (2024-04-02) + + + ## [4.0.0-alpha.261](https://github.com/godot-escoria/escoria-demo-game/compare/v0.0.0...v4.0.0-alpha.261) (2023-10-28) diff --git a/addons/escoria-core/game/core-scripts/esc_item.gd b/addons/escoria-core/game/core-scripts/esc_item.gd index 6b4c3a542..3ffd946a8 100644 --- a/addons/escoria-core/game/core-scripts/esc_item.gd +++ b/addons/escoria-core/game/core-scripts/esc_item.gd @@ -542,7 +542,7 @@ func get_interact_position() -> Vector2: # This will catch all other Position2D related nodes # including dialog locations and native Position2D nodes. pos_2d_count += 1 - pos_2d_position = c.global_position + pos_2d_position = c.global_position if interact_position == null and \ esclocation_position == null and is_instance_valid(collision): diff --git a/addons/escoria-core/game/esc_logger.gd b/addons/escoria-core/game/esc_logger.gd index 807de8289..94938e6c0 100644 --- a/addons/escoria-core/game/esc_logger.gd +++ b/addons/escoria-core/game/esc_logger.gd @@ -161,13 +161,13 @@ class ESCLoggerFile extends ESCLoggerBase: if _log_level >= LOG_INFO: _log_to_file(owner, msg, "I") .info(owner, msg) - + # Static info log func info_message(context: String, msg: String): if _log_level >= LOG_INFO: _log_to_file_message(context, msg, "I") .info_message(context, msg) - + # Warning log func warn(owner: Object, msg: String): if _log_level >= LOG_WARNING: @@ -179,7 +179,7 @@ class ESCLoggerFile extends ESCLoggerBase: print_stack() close_logs() .warn(owner, msg) - + # Static warning log func warn_message(context: String, msg: String): if _log_level >= LOG_WARNING: @@ -249,7 +249,7 @@ class ESCLoggerFile extends ESCLoggerBase: ] ) frame_number += 1 - + # A simple logger that logs to terminal using debug() function class ESCLoggerVerbose extends ESCLoggerBase: