fix: Debug message for when an item has no ESCLocation

This commit is contained in:
Balloonpopper authored and Julian Murgia committed 2023-01-19 15:09:55 +01:00
1 parent 327b72f67b
commit 1709a25452
2 files changed
+12 -10

No files matched your search

@@ -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(