@@ -20,19 +20,19 @@ def mod_info(self):
2020 def mod_load (self ):
2121 # This is called due to renpy's screen cache. Any modifications to screens with an
2222 # enabled cache will fail!
23- ml .disable_slast_cache ()
23+ modast .disable_slast_cache ()
2424
2525 # Hook every point where the chapter is changed and set mod_currentChapter to the
2626 # integer value of the current chapter. This will allow route mods to make comparisons.
2727 home_hook = ml .get_home_hook ()
2828 home_hook .hook_chapter_1 (modast .find_label ("_core_updateChapter" ))
2929
3030 stmt = modast .find_python_statement ('chapter2unplayed = False' )
31- ml .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
31+ modast .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
3232 stmt = modast .find_python_statement ('chapter3unplayed = False' )
33- ml .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
33+ modast .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
3434 stmt = modast .find_python_statement ('chapter4unplayed = False' )
35- ml .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
35+ modast .call_hook (stmt , modast .find_label ("_core_updateChapter" ))
3636
3737 # How to abuse the ren'py parser for your own personal gain!
3838 target_display = None
@@ -54,4 +54,4 @@ def mod_load(self):
5454 def mod_complete (self ):
5555 # This is called after all mods are loaded, preventing us from getting a partial list of
5656 # mods (say, if core was loaded before myMod1).
57- ml .set_renpy_global ('modsDesc' , ', ' .join ([mod_name for mod_name in modinfo .modlist ]))
57+ modast .set_renpy_global ('modsDesc' , ', ' .join ([mod_name for mod_name in modinfo .modlist ]))
0 commit comments