fix: ensures proper number of interpolation placeholders
This commit is contained in:
1 parent
da4dd67157
commit
68220ced91
1 file changed
+2
-2
@@ -695,14 +695,14 @@ func check_talk_possible():
|
|||||||
if not is_instance_valid(animations):
|
if not is_instance_valid(animations):
|
||||||
escoria.logger.warn(
|
escoria.logger.warn(
|
||||||
self,
|
self,
|
||||||
"Node %s cannot talk. Its \"animations\" parameter is empty : %s." \
|
"Node %s cannot talk. Its \"animations\" parameter is empty." \
|
||||||
% self
|
% self
|
||||||
)
|
)
|
||||||
return false
|
return false
|
||||||
if animations.speaks.size() == 0:
|
if animations.speaks.size() == 0:
|
||||||
escoria.logger.warn(
|
escoria.logger.warn(
|
||||||
self,
|
self,
|
||||||
"Node %s cannot talk. Its \"animations.speaks\" array is empty : %s." \
|
"Node %s cannot talk. Its \"animations.speaks\" array is empty." \
|
||||||
% self
|
% self
|
||||||
)
|
)
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in new issue
Block a user