* Fixed mods warning for compatible mods due to old var reference
This commit is contained in:
LoafyLemon 2023-07-19 17:49:51 +01:00
parent 105d60e61e
commit 18721850f5

View File

@ -63,7 +63,7 @@ screen mods():
text "[name]":
style "mods_text"
size 16
if not compat >= compatible_version:
if not compat >= mods_compatible:
color "#ff8000"
text "[version]":
@ -101,7 +101,7 @@ screen mods():
add logo xalign 0.5 size (320, 240)
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)
else:
text "{color=#228B22}[compat]{/color}" align (1.0, 1.0) offset (-6, -3)