summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2024-01-07 12:24:38 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2024-01-07 12:24:38 +0100
commit33f39cd8ef08db0007c9690992bad99edbaa1795 (patch)
treee1e48263aaa124ca826b4c5984e3511e56bde70f /src/game.c
parent1f3e6604cf2df6ae11944f99f939b8b697ebd4d9 (diff)
zombie hit player
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index e5a34be..60540a8 100644
--- a/src/game.c
+++ b/src/game.c
@@ -40,6 +40,7 @@ void connect_to_server(char* ip, char* port) {
global_state.client->on_message = client_on_message_received;
if (global_state.server) {
+ player_id = 127001;
spawn_player(player_id, (network_client){0, false, 0, "Host"});
global_state.network_state = CONNECTED;
}