1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-04-23 09:41:08 +00:00

Added small screen support and OOM display

This commit is contained in:
Harley White 2021-05-06 15:45:03 -04:00
parent 5ed897bd7b
commit cbb303c21b
8 changed files with 70 additions and 21 deletions

View file

@ -283,6 +283,7 @@ function layerunlocked(layer) {
function keepGoing() {
player.keepGoing = true;
needCanvasUpdate = true;
goBack()
}
function toNumber(x) {
@ -348,7 +349,6 @@ document.onkeydown = function (e) {
if (ctrlDown && hotkeys[key]) e.preventDefault()
if (hotkeys[key]) {
let k = hotkeys[key]
console.log(tmp[k.layer].hotkeys)
if (player[k.layer].unlocked && tmp[k.layer].hotkeys[k.id].unlocked)
k.onPress()
}