Add hidden dev debug console (v0.5.0)

This commit is contained in:
MeatSlicer Developer committed 2026-07-31 08:49:39 +10:00
1 parent b8b5c360f2
commit 3f76998fab
22 files changed
+1161 -57

No files matched your search

+2 -2
View File
@@ -243,9 +243,9 @@ const ACTIVES = {
} },
};
function useActive() {
function useActive(force) {
const p = G.player;
if (!p.active || G.mode !== 'play') return;
if (!p.active || (G.mode !== 'play' && !force)) return;
const a = ACTIVES[p.active.iid];
if (!a) return;
if (p.active.charges < a.cost) {