diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/game.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ void start_game(const bool servermode, const char* addr, const char* port, const if(servermode) { pid_t child = fork(); - server_process = (child > 0); + server_process = (child == 0); } if(server_process) // Start server and connect to localhost |
