Fixed small bug
Small bugfix where the warning would be in a strange colour as it is monochromemaster
parent
52a97bb7dc
commit
eaa766f711
|
|
@ -144,6 +144,7 @@ var curWarning = Math.floor(Math.random() * (maxWarning+1));
|
||||||
function buttonPressed(){
|
function buttonPressed(){
|
||||||
if (curWarning < maxWarning) curWarning += 1;
|
if (curWarning < maxWarning) curWarning += 1;
|
||||||
else curWarning = 0;
|
else curWarning = 0;
|
||||||
|
g.reset();
|
||||||
buttonImg = getImg("butPress");
|
buttonImg = getImg("butPress");
|
||||||
g.drawImage(buttonImg, 0, 0);
|
g.drawImage(buttonImg, 0, 0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue