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):
|
||||
escoria.logger.warn(
|
||||
self,
|
||||
"Node %s cannot talk. Its \"animations\" parameter is empty : %s." \
|
||||
"Node %s cannot talk. Its \"animations\" parameter is empty." \
|
||||
% self
|
||||
)
|
||||
return false
|
||||
if animations.speaks.size() == 0:
|
||||
escoria.logger.warn(
|
||||
self,
|
||||
"Node %s cannot talk. Its \"animations.speaks\" array is empty : %s." \
|
||||
"Node %s cannot talk. Its \"animations.speaks\" array is empty." \
|
||||
% self
|
||||
)
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user