Boat names now change, just the issue of the lobby not updating unless another person joins/leaves to try and fix.

tags: #story[1142]
This commit is contained in:
Alistair McIntyre
2017-08-16 17:57:22 +12:00
parent 1db75a8ae4
commit 4fc00f8a3c
5 changed files with 47 additions and 15 deletions
@@ -298,6 +298,10 @@ public class ServerYacht extends Observable {
return country;
}
public void setBoatName(String name) {
boatName = name;
shortName = name.split(" ")[0];
}
public GeoPoint getLocation() {
return location;