summaryrefslogtreecommitdiff
path: root/include/game.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-14 20:43:26 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-14 20:43:26 +0100
commit23d2cc231e5b4c015a8471d3035dc07802de23d5 (patch)
tree4b307a81e5fc566a5d1af9a0659b19534cff11b6 /include/game.h
parentee4906ef5fc89f3f10cd6aaf95845a0ae9b2f47e (diff)
leaderboard, network syncing
Diffstat (limited to 'include/game.h')
-rw-r--r--include/game.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/game.h b/include/game.h
index 9f0d173..faf2bc9 100644
--- a/include/game.h
+++ b/include/game.h
@@ -27,7 +27,7 @@ typedef struct t_game {
network_client *client;
} game;
-game global_state;
+game global_state = {GAMESTATE_IDLE,DISCONNECTED,0,0};
void init_game();