mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Fixed game crash, and improved timer
- Fixed the null pointer exception that happened on slower computers - Made the timer start counting down when the host clicks ready Tags: #story[1109]
This commit is contained in:
@@ -96,7 +96,7 @@ public class LobbyController {
|
||||
);
|
||||
initialiseImageView();
|
||||
|
||||
timeUntilStart.setText("");
|
||||
timeUntilStart.setText("Waiting For Host...");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -170,7 +170,7 @@ public class LobbyController {
|
||||
|
||||
public void updateRaceState(RaceState raceState){
|
||||
this.raceState = raceState;
|
||||
timeUntilStart.setText(raceState.getRaceTimeStr());
|
||||
timeUntilStart.setText("Starting in: " + raceState.getRaceTimeStr());
|
||||
}
|
||||
|
||||
public void disableReadyButton () {
|
||||
|
||||
Reference in New Issue
Block a user