forked from SilverStudioGames/WTS
Bug fix
* Fixed mods warning for compatible mods due to old var reference
This commit is contained in:
parent
105d60e61e
commit
18721850f5
@ -63,7 +63,7 @@ screen mods():
|
|||||||
text "[name]":
|
text "[name]":
|
||||||
style "mods_text"
|
style "mods_text"
|
||||||
size 16
|
size 16
|
||||||
if not compat >= compatible_version:
|
if not compat >= mods_compatible:
|
||||||
color "#ff8000"
|
color "#ff8000"
|
||||||
|
|
||||||
text "[version]":
|
text "[version]":
|
||||||
@ -101,7 +101,7 @@ screen mods():
|
|||||||
add logo xalign 0.5 size (320, 240)
|
add logo xalign 0.5 size (320, 240)
|
||||||
text "[name]\n[version]" offset (6, 6)
|
text "[name]\n[version]" offset (6, 6)
|
||||||
|
|
||||||
if not compat >= compatible_version:
|
if not compat >= mods_compatible:
|
||||||
text "{color=#ff8000}[compat]{/color}" align (1.0, 1.0) offset (-6, -3)
|
text "{color=#ff8000}[compat]{/color}" align (1.0, 1.0) offset (-6, -3)
|
||||||
else:
|
else:
|
||||||
text "{color=#228B22}[compat]{/color}" align (1.0, 1.0) offset (-6, -3)
|
text "{color=#228B22}[compat]{/color}" align (1.0, 1.0) offset (-6, -3)
|
||||||
|
Loading…
Reference in New Issue
Block a user