Fix new game plus progression issues
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ function boot(): void {
|
||||
if (e.code === 'Escape' && loop) {
|
||||
const g = (window as Window & { game?: Game }).game;
|
||||
if (g?.inventoryOpen) {
|
||||
g.inventoryOpen = false;
|
||||
g.closeInventory();
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user