Skip to content

Commit

Permalink
fix for front page
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronya-Rand committed Apr 26, 2020
1 parent a113c6c commit ddec5b5
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions launcher/game/front_page.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,21 @@ screen front_page:
use front_page_project

if project.current is not None:
python:
ver = persistent.projects_directory + '/' + project.current.name + '/renpy-version.txt'
try:
with open(ver) as f:
if f.readline() < "7":
launch = False
else:
launch = True
except IOError:
if persistent.projects_directory is None:
python:
launch = "error"
pass
else:
python:
ver = persistent.projects_directory + '/' + project.current.name + '/renpy-version.txt'
try:
with open(ver) as f:
if f.readline() < "7":
launch = False
else:
launch = True
except IOError:
launch = "error"
if launch == False:
textbutton _("DDMMaker 6.99.12.4 Needed"):
xalign 0.95
Expand Down

0 comments on commit ddec5b5

Please sign in to comment.