forked from SilverStudioGames/WTS
Hotfix
* Fixed a crash caused by zlayers
This commit is contained in:
parent
bdd654a806
commit
90e57fd6af
@ -30,7 +30,7 @@ define config.developer = "auto"
|
||||
define config.console = True
|
||||
|
||||
# Game version and naming
|
||||
define config.version = "1.44.2"
|
||||
define config.version = "1.44.3"
|
||||
define compatible_version = 1.43
|
||||
define config.name = "Witch Trainer Silver"
|
||||
|
||||
|
@ -124,6 +124,21 @@ init python:
|
||||
char.rebuild()
|
||||
|
||||
if current <= 1.441:
|
||||
pass
|
||||
|
||||
if current <= 1.442:
|
||||
for i in CHARACTERS:
|
||||
char = get_character_object(i)
|
||||
|
||||
for j in char.wardrobe_list:
|
||||
j.zlayers = []
|
||||
|
||||
for j in char.outfits:
|
||||
for k in j.group:
|
||||
k.zlayers = []
|
||||
|
||||
char.rebuild()
|
||||
|
||||
fix_return_stack()
|
||||
|
||||
if current > latest:
|
||||
|
Loading…
Reference in New Issue
Block a user