* Avoid catching nodes during init phase and remove debug vars
This commit is contained in:
LoafyLemon 2022-10-02 16:39:19 +01:00
parent b35c2cd26f
commit cc259564bb

View File

@ -16,10 +16,9 @@ init python:
self.active = False
def catch(self, *args, **kwargs):
if not self.active:
if not self.active or renpy.is_init_phase():
return
global n # DEBUG
self.node = None
self.live_code = None
@ -39,7 +38,6 @@ init python:
return
self.node = node
n = node # DEBUG
who = node.who
file = node.filename