fix: Resolve canvas reference and duplicate currentTool declaration
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Main game variables and initialization
|
||||
let canvas, ctx;
|
||||
let currentTool = SAND;
|
||||
// currentTool is already defined in input.js
|
||||
let lastFrameTime = 0;
|
||||
let fps = 0;
|
||||
let debugMode = false;
|
||||
|
||||
Reference in New Issue
Block a user