aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2021-09-09 14:11:28 +0300
committerRblSb <msrblsb@gmail.com>2021-09-09 14:11:28 +0300
commitf76c28ea26ab42fbc7f8232e5cc0b41f1e1d99d1 (patch)
tree5335a6cd9aab78f62aff42574b4f11b4703619f2 /src/client
parent935505a515d05a65907254fe1d822c41fb07154f (diff)
Minor autopause fix
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Player.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Player.hx b/src/client/Player.hx
index b9de8cb..4d70526 100644
--- a/src/client/Player.hx
+++ b/src/client/Player.hx
@@ -185,7 +185,7 @@ class Player {
public function onPause():Void {
final hasAutoPause = main.hasLeaderOnPauseRequest() && items.length > 0
- && getTime() != 0;
+ && getTime() > 1;
if (hasAutoPause && !main.hasLeader()) {
JsApi.once(SetLeader, event -> {
final name = event.setLeader.clientName;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage