From 4e034d0f17a59474e5331d1a89653fe16c4483c8 Mon Sep 17 00:00:00 2001
From: Paolo Capriotti
Date: Thu, 24 Sep 2009 16:58:40 +0200
Subject: [PATCH] Fix coordinates when dragging from pool.
---
lib/controller.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/controller.rb b/lib/controller.rb
index 06210c8..4766198 100644
--- a/lib/controller.rb
+++ b/lib/controller.rb
@@ -248,6 +248,7 @@ class Controller
item = @board.create_piece(data[:item].name)
@board.raise item
@board.remove_from_group item
+ item.parent_item = nil
anim = @pools[c].animator.remove_piece(data[:index])
data[:item] = item
data[:size] = @board.unit
--
2.11.4.GIT