mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +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:
@@ -27,9 +27,9 @@ public class MainServerThread implements Runnable, ClientConnectionDelegate {
|
||||
private static final int PORT = 4942;
|
||||
private static final Integer CLIENT_UPDATES_PER_SECOND = 10;
|
||||
private static final int LOG_LEVEL = 1;
|
||||
private static final int PRESTART_TIME = 60 * -1000;
|
||||
private static final int WARNING_TIME = 30 * -1000;
|
||||
private static final int PREPATORY_TIME = 10 * -1000;
|
||||
private static final int WARNING_TIME = 10 * -1000;
|
||||
private static final int PREPATORY_TIME = 5 * -1000;
|
||||
public static final int TIME_TILL_START = 10 * 1000;
|
||||
|
||||
private boolean terminated;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user