From 0e5ae0809ac2b244b7f237b07d81d02b86a1ee39 Mon Sep 17 00:00:00 2001 From: Zocker1999NET Date: Sun, 3 Jul 2016 21:22:37 +0200 Subject: [PATCH] Debug Colours Switch --- Colours.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Colours.java b/Colours.java index 2b57fb0..cdabfa8 100644 --- a/Colours.java +++ b/Colours.java @@ -142,12 +142,12 @@ public class Colours extends World implements ButtonEvent if(b == remove && x > 0) { x -= 1; switch(color[x]) { - case sw: possw = true; break; - case bl: posbl = true; break; - case gr: posgr = true; break; - case rt: posrt = true; break; - case gb: posgb = true; break; - case li: posli = true; break; + case 1: possw = true; break; + case 2: posbl = true; break; + case 3: posgr = true; break; + case 4: posrt = true; break; + case 5: posgb = true; break; + case 6: posli = true; break; } } if ( b == weiter && x > 2 )