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:
parent
5ed897bd7b
commit
cbb303c21b
8 changed files with 70 additions and 21 deletions
js
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue