Fixed small bug

Small bugfix where the warning would be in a strange colour as it is monochrome
pull/1508/head
Andrew 2022-01-24 11:57:34 -08:00 committed by GitHub
parent 52a97bb7dc
commit eaa766f711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ var curWarning = Math.floor(Math.random() * (maxWarning+1));
function buttonPressed(){
if (curWarning < maxWarning) curWarning += 1;
else curWarning = 0;
g.reset();
buttonImg = getImg("butPress");
g.drawImage(buttonImg, 0, 0);