diff -r d1db8aaa8edc -r 6171f0bad318 project_files/frontlib/net/netconn.c --- a/project_files/frontlib/net/netconn.c Wed Jun 27 18:04:17 2012 +0200 +++ b/project_files/frontlib/net/netconn.c Wed Jun 27 22:52:19 2012 +0200 @@ -175,7 +175,7 @@ } } -flib_gamesetup *flib_netconn_create_gameSetup(flib_netconn *conn) { +flib_gamesetup *flib_netconn_create_gamesetup(flib_netconn *conn) { flib_gamesetup *result = NULL; if(!conn) { flib_log_e("null parameter in flib_netconn_create_gameSetup"); @@ -193,7 +193,7 @@ flib_team *copy = flib_team_copy(conn->teamlist.teams[i]); if(copy) { flib_team_set_weaponset(copy, conn->weaponset); - flib_team_set_health(copy, conn->scheme->settings[2]); // TODO by name + flib_team_set_health(copy, flib_cfg_get_setting(conn->scheme, "health", 100)); flib_teamlist_insert(result->teamlist, copy, result->teamlist->teamCount); } flib_team_release(copy);