Add data for storing the game objects and JSON data on exit
This commit is contained in:
parent
4f00510401
commit
7696de2284
1 changed files with 3 additions and 0 deletions
|
|
@ -15,6 +15,9 @@ import { ExecutiveConfirmation } from "./events/special/ExecutiveConfirmation";
|
||||||
import { InvestigateAffiliation } from "./events/special/InvestigateLoyalty/InvestigateAffiliation";
|
import { InvestigateAffiliation } from "./events/special/InvestigateLoyalty/InvestigateAffiliation";
|
||||||
|
|
||||||
|
|
||||||
|
export var active_games: {[key: string]: Game} = {};
|
||||||
|
|
||||||
|
const db_dir = `data`;
|
||||||
const io = sio.listen(3000);
|
const io = sio.listen(3000);
|
||||||
|
|
||||||
io.on(`connection`, (socket: sio.Socket) => {
|
io.on(`connection`, (socket: sio.Socket) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue