fix: Debug message for when an item has no ESCLocation
This commit is contained in:
committed by
Julian Murgia
parent
327b72f67b
commit
1709a25452
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user