From fe7b42ec402ad347798e7b0f82638ce90992e933 Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Sun, 7 Dec 2025 12:11:35 +0100 Subject: [PATCH] fix dragging out from block children not working --- game/rules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/game/rules.py b/game/rules.py index f0b0599..e518dd5 100644 --- a/game/rules.py +++ b/game/rules.py @@ -338,6 +338,7 @@ class RuleUI(arcade.gui.UIAnchorLayout): def remove_from_parent(self, block_to_remove, parents): for parent in parents: if block_to_remove in parent.children: + self.rulesets[block_to_remove.rule_num] = block_to_remove parent.children.remove(block_to_remove) return True if self.remove_from_parent(block_to_remove, parent.children):