Private
Public Access
1
0

fix: Economy is calculated server-side and not browser-side anymore

This commit is contained in:
gauvainboiche
2026-03-31 09:40:00 +02:00
parent 90000fae2f
commit 5871427514
5 changed files with 177 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ import { loadConfigFile, getConfig } from "./configLoader.js";
import { initGameSchema, ensureSeedEpoch } from "./db/gameDb.js";
import { initUsersSchema } from "./db/usersDb.js";
import app from "./app.js";
import { startEconTick } from "./econTick.js";
const PORT = Number(process.env.PORT ?? 8080);
@@ -39,6 +40,7 @@ async function main() {
});
scheduleConfigPoll();
startEconTick();
}
main().catch((e) => {