project_files/frontlib/net/netprotocol.c
changeset 7566 57d343ee382f
parent 7497 7e1d72fc03c7
child 10017 de822cd3df3a
--- a/project_files/frontlib/net/netprotocol.c	Sat Aug 18 13:45:00 2012 +0200
+++ b/project_files/frontlib/net/netprotocol.c	Sat Aug 18 18:08:37 2012 +0200
@@ -57,6 +57,11 @@
 			return -1;
 		}
 	}
+
+	// Set some default assumptions as well
+	team->colorIndex = DEFAULT_COLOR_INDEX;
+	team->hogsInGame = DEFAULT_HEDGEHOG_COUNT;
+	team->remoteDriven = true;
 	return 0;
 }