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