mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
Wait 2 seconds before making the draft pick for a timed out player (#10733)
* The draft session waits for 5 seconds before making the pick for the timed out player * Formatting * Renamed constant * Tweak * If the draft pick's timeout value would increase the client's pick's timer, don't set it (might happen if the client or server is lagging) * Lowered BOOSTER_LOADING_INTERVAL and AUTOPICK_BUFFER --------- Co-authored-by: sprangg <a@b.c>
This commit is contained in:
parent
456ea87107
commit
287df7af21
3 changed files with 25 additions and 12 deletions
|
|
@ -34,7 +34,7 @@ public abstract class DraftImpl implements Draft {
|
|||
protected int cardNum = 1; // starts with card number 1, increases by +1 after each picking
|
||||
protected TimingOption timing;
|
||||
protected int boosterLoadingCounter; // number of times the boosters have been sent to players until all are confirmed to have received them
|
||||
protected final int BOOSTER_LOADING_INTERVAL = 3; // interval in seconds
|
||||
protected final int BOOSTER_LOADING_INTERVAL = 2; // interval in seconds
|
||||
|
||||
protected boolean abort = false;
|
||||
protected boolean started = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue