animation conversion: add in_variation to list of variables defined at start as False
All of these variables are again defined as False when [unit] is in the line, but in_variation was missing from this earlier list. This caused wmllint to crash with an UnboundLocalError on a page of (UtBS) Kaleh-style macros that had no [unit] tag.
This commit is contained in:
parent
02c52deef8
commit
1fe15fe6e9
1 changed files with 1 additions and 1 deletions
|
@ -1067,7 +1067,7 @@ def hack_syntax(filename, lines):
|
|||
self.attackend = None
|
||||
def __repr__(self):
|
||||
return `self.__dict__`
|
||||
in_attack = in_animation = in_female = False
|
||||
in_attack = in_animation = in_female = in_variation = False
|
||||
animations = []
|
||||
attackname = None
|
||||
attackline = None
|
||||
|
|
Loading…
Add table
Reference in a new issue