Skip to content

Commit

Permalink
chore: storing version and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
BHSDuncan committed Apr 2, 2024
1 parent 3028752 commit e1e0798
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
2 changes: 1 addition & 1 deletion addons/escoria-core/game/core-scripts/esc_item.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
8 changes: 4 additions & 4 deletions addons/escoria-core/game/esc_logger.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit e1e0798

Please sign in to comment.