fix: ensures proper number of interpolation placeholders

This commit is contained in:
Duncan Brown
2023-01-08 20:13:29 -05:00
committed by Julian Murgia
parent da4dd67157
commit 68220ced91

View File

@@ -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