Fixed null pointer exception when a boat finishes the race.

Boats now default to have position (0, 0).
Added mark rounding data to single player race.xml
This commit is contained in:
fjc40
2017-08-15 17:13:12 +12:00
parent 3a0bd10a57
commit 5ae8393126
8 changed files with 43 additions and 51 deletions
@@ -47,7 +47,7 @@ public class HostController extends Controller {
*/
public void hostGamePressed() throws IOException{
try {
Event game = new Event(true);
Event game = new Event(false);
game.start();
connectSocket("localhost", 4942);
} catch (EventConstructionException e) {