Fix bug in a warning not correctly formatted.

This commit is contained in:
Julian Murgia
2021-07-05 11:23:00 +02:00
parent ccb34e319b
commit e0de1de1ce
5 changed files with 11 additions and 3 deletions

View File

@@ -152,11 +152,12 @@ func activate(
escoria.logger.report_warnings(
"ESCActionManager.activate: Invalid action on item",
[
"Trying to run %s on object %s, "+
"but item must be in inventory." % [
"Trying to run %s on object %s, " %
[
action,
target.global_id
target.node.global_id
]
+ "but item must be in inventory."
]
)