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."
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
@@ -11,3 +11,4 @@ SOUND_VOLUME,Sound effects,Effets sonores
|
||||
CANCEL,Cancel,Annuler
|
||||
OK,OK,OK
|
||||
ENTER_SAVE_NAME,Enter the save name:,Entrez un nom de sauvegarde
|
||||
APPLY,Apply,Appliquer
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
@@ -330,6 +330,11 @@ _global_script_classes=[ {
|
||||
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/queue_resource.gd"
|
||||
}, {
|
||||
"base": "ESCBaseCommand",
|
||||
"class": "RandGlobalCommand",
|
||||
"language": "GDScript",
|
||||
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/rand_global.gd"
|
||||
}, {
|
||||
"base": "ESCBaseCommand",
|
||||
"class": "RepeatCommand",
|
||||
"language": "GDScript",
|
||||
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/repeat.gd"
|
||||
@@ -514,6 +519,7 @@ _global_script_class_icons={
|
||||
"PlaySndCommand": "",
|
||||
"QueueAnimationCommand": "",
|
||||
"QueueResourceCommand": "",
|
||||
"RandGlobalCommand": "",
|
||||
"RepeatCommand": "",
|
||||
"SayCommand": "",
|
||||
"SchedEventCommand": "",
|
||||
|
||||
Reference in New Issue
Block a user