fix: Debug message for when an item has no ESCLocation

This commit is contained in:
Balloonpopper
2023-01-17 20:58:26 +11:00
committed by Julian Murgia
parent 327b72f67b
commit 1709a25452
2 changed files with 12 additions and 10 deletions

View File

@@ -509,6 +509,10 @@ func get_interact_position() -> Vector2:
if interact_position == null and collision != null:
interact_position = collision.global_position
escoria.logger.warn(
self,
"No ESClocation found to walk to for object " +
"%s. Middle of collision shape will be used." % global_id)
if multiple_positions_found:
escoria.logger.warn(