From 33f39cd8ef08db0007c9690992bad99edbaa1795 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 7 Jan 2024 12:24:38 +0100 Subject: zombie hit player --- src/game.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game.c') 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; } -- cgit v1.2.3-70-g09d2