summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2019-12-17 11:28:50 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2019-12-17 11:28:50 +0100
commite868bcd276ca812feed08e01a8c4400f6c228408 (patch)
tree15f632e0248243ac138db5a69241147bd388a210 /core/src
parent8b56905abb7db5d545dcd3fabc471f0e89cdb9a0 (diff)
downloadgdx-boardgame-e868bcd276ca812feed08e01a8c4400f6c228408.zip
gdx-boardgame-e868bcd276ca812feed08e01a8c4400f6c228408.tar.gz
Assembly : taint must taint itself and the children
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/ui/Assembly.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java b/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java
index b2b1e28..7cc92b8 100644
--- a/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java
+++ b/core/src/ch/asynk/gdx/boardgame/ui/Assembly.java
@@ -47,6 +47,7 @@ public abstract class Assembly extends Element
@Override public void taint()
{
+ tainted = true;
children.forEach( c -> c.taint() );
}