Fix formatting for game.js

This commit is contained in:
TakeV 2024-05-25 01:42:11 -04:00
parent 12b5ce8e03
commit 062286d1f7
Signed by: TakeV
GPG key ID: A64F41345C7400AF

View file

@ -64,9 +64,9 @@ window.addEventListener("load", async () => {
setTransform: (ctx, a, b, c, d, e, f) => ctx.setTransform(a, b, c, d, e, f), setTransform: (ctx, a, b, c, d, e, f) => ctx.setTransform(a, b, c, d, e, f),
setImageSmoothingEnabled: (ctx, enabled) => ctx.imageSmoothingEnabled = (enabled == 1) setImageSmoothingEnabled: (ctx, enabled) => ctx.imageSmoothingEnabled = (enabled == 1)
}, },
console: { console: {
log: (text) => console.log(text) log: (text) => console.log(text)
}, },
math: { math: {
random: () => Math.random() random: () => Math.random()
} }