fix: ensures proper number of interpolation placeholders
This commit is contained in:
committed by
Julian Murgia
parent
da4dd67157
commit
68220ced91
@@ -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