Stop start-delay-timer instead of auto-start-timer on empty lobby.
Due to the start-delay-timer holding a reference to the auto-start-timer as its internal callback, the start-delay-timer should be stopped, when both timers should be stopped.
This commit is contained in:
1 parent
df9c0c2704
commit
fefb3f1c0d
2 files changed
+2
-2
No files matched your search
@@ -666,7 +666,7 @@ public class ArenaImpl implements Arena
|
||||
|
||||
// Last lobby player leaving? Stop the timer
|
||||
if (lobbyPlayers.size() == 1) {
|
||||
autoStartTimer.stop();
|
||||
startDelayTimer.stop();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user