Bugfix
* Avoid catching nodes during init phase and remove debug vars
This commit is contained in:
parent
b35c2cd26f
commit
cc259564bb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user