Fix bug in a warning not correctly formatted.
This commit is contained in:
@@ -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."
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user