From 475cd8b9e231a9bab425103101b632de4bd79af4 Mon Sep 17 00:00:00 2001 From: "theo@manjaro" Date: Thu, 25 Nov 2021 14:12:51 +0100 Subject: [PATCH] Fixed flags slowly moving --- gamedata/objects/levels.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gamedata/objects/levels.py b/gamedata/objects/levels.py index b648d72..609a094 100644 --- a/gamedata/objects/levels.py +++ b/gamedata/objects/levels.py @@ -6,7 +6,9 @@ class Levels(BaseObject): def __init__(self,x,y,game,nodes,customvalues): super().__init__(0,0,game) - self.nodes = nodes + self.nodes = [] + for i in nodes: + self.nodes.append(i.copy()) self.customvalues = customvalues self.bgm = self.game.sound_lib["bgm/overworld.mp3"]