Update dependencies and remove unneeded things. This allows building on node v22. Also rely on configs for eslint/prettier so CI and command line runs are guaranteed to be consistent.
This commit is contained in:
committed by
Daniël van Noord
parent
9e98208c19
commit
a1aaa3de8f
@@ -1,6 +1,6 @@
|
||||
import init from './InitSaveLoad/init';
|
||||
import load from './InitSaveLoad/load';
|
||||
import save from './InitSaveLoad/save';
|
||||
import init from './InitSaveLoad/init.js';
|
||||
import load from './InitSaveLoad/load.js';
|
||||
import save from './InitSaveLoad/save.js';
|
||||
|
||||
const CM = {
|
||||
init,
|
||||
@@ -10,7 +10,7 @@ const CM = {
|
||||
|
||||
if (typeof Steam !== 'undefined') {
|
||||
// Need to add a delay for steam
|
||||
setTimeout(function () {
|
||||
setTimeout(() => {
|
||||
Game.registerMod('CookieMonster', CM);
|
||||
|
||||
// Game.registerMod also calls CM.load() which calls the loop hook
|
||||
|
||||
Reference in New Issue
Block a user