Commit 0c3b091f authored by Nils Hein's avatar Nils Hein
Browse files

Fixed Absturz beim Verschwinden von Bubbles in Android

parent 65bec869
......@@ -8,7 +8,7 @@ import com.badlogic.gdx.math.Vector2;
import org.milderjoghurt.frozennumbers.FrozenNumbersGame;
import org.milderjoghurt.frozennumbers.util.HSL;
import java.awt.Color;
import com.badlogic.gdx.graphics.Color;
import java.util.Random;
public class Bubble extends Sprite {
......@@ -110,8 +110,7 @@ public class Bubble extends Sprite {
}
public void setFrozen(float s) {
Color c = new Color(1, 1, 1, 1);
this.setColor(c.getRGB());
this.setColor(Color.WHITE);
frozen = true;
frozen_s = s;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment