Skip to content
Snippets Groups Projects
Commit 39e87704 authored by mcmlxxix's avatar mcmlxxix
Browse files

reset selection and position on game start (to fix preselection on startup in subsequent games)

parent 48514872
Branches
Tags
No related merge requests found
......@@ -150,6 +150,10 @@ function blox()
}
function main()
{
selx=0;
sely=0;
selection=[];
selected=false;
level=0;
points=0;
gameover=false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment