Bug fixes and Engine Version Bump

This commit is contained in:
LoafyLemon 2024-09-05 08:46:52 +01:00
parent 88b41f6623
commit 0630997a99
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
python early: python early:
if renpy.version_tuple < (8,2,1,24030407): if renpy.version_tuple < (8,3,1,24090402):
raise RuntimeWarning("Your Ren'Py launcher is outdated, the current minimal requirement is 8.2.1+\nPlease perform an update and try launching the game again.") raise RuntimeWarning("Your Ren'Py launcher is outdated, the current minimal requirement is 8.3.1+\nPlease perform an update and try launching the game again.")
from renpy.uguu import glGetString, GL_VENDOR, GL_RENDERER, GL_VERSION from renpy.uguu import glGetString, GL_VENDOR, GL_RENDERER, GL_VERSION
@ -29,7 +29,7 @@ python early:
# Debug # Debug
# Note: config.developer flag is set to False during early initialisation # Note: config.developer flag is set to False during early initialisation
def detect_orphaned_rpyc_files(): def detect_orphaned_rpyc_files():
excluded = ["tl/", "00db.rpyc", "00sshtransition.rpyc"] excluded = ["tl/", "00db.rpyc", "00sshtransition.rpyc", "00textshader.rpyc"]
files = renpy.list_files(common=True) files = renpy.list_files(common=True)

View File

@ -117,7 +117,7 @@ init python:
elif key in self.persistent_expressions: elif key in self.persistent_expressions:
pass pass
else: else:
val = val.strip("\"") # When accessed, temporary attribute values have quotes by default, we need to strip them. val = val.strip("\"").strip("'") # When accessed, temporary attribute values have quotes by default, we need to strip them.
l2.extend((key, val)) l2.extend((key, val))
continue continue
@ -126,7 +126,7 @@ init python:
if key in no_kw_args: if key in no_kw_args:
key = None key = None
l.append((key, val)) l.append((key, val.replace("'", "\"")))
self.replace("args", l) self.replace("args", l)
self.replace("temp_attr", l2) self.replace("temp_attr", l2)