Skip to content

Commit 1318fb5

Browse files
committed
Fix a bug where the game wouldn't correctly import slast
1 parent 8a64d43 commit 1318fb5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

modloader/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import modclass
88

99
print('AWSW Mod Loader Init')
10-
print(__name__)
1110

1211
def get_mod_path():
1312
"""Get the mod path

modloader/modlib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
def imports():
1616
# Unfortunately importing renpy.sl2.slast is impractical because
1717
# it eventually tries to import a Cython-compiled file.
18+
global slast
1819
import renpy.sl2.slast as slast
1920

2021
if not modloader.building_documentation:

0 commit comments

Comments
 (0)