aboutsummaryrefslogtreecommitdiffstats
path: root/res
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 /res
parent935505a515d05a65907254fe1d822c41fb07154f (diff)
Minor autopause fix
Diffstat (limited to 'res')
-rw-r--r--res/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/client.js b/res/client.js
index 478cacd..7a4dc47 100644
--- a/res/client.js
+++ b/res/client.js
@@ -2214,7 +2214,7 @@ client_Player.prototype = {
}
,onPause: function() {
var _gthis = this;
- if(this.main.hasLeaderOnPauseRequest() && this.items.length > 0 && this.getTime() != 0 && !this.main.hasLeader()) {
+ if(this.main.hasLeaderOnPauseRequest() && this.items.length > 0 && this.getTime() > 1 && !this.main.hasLeader()) {
client_JsApi.once("SetLeader",function(event) {
if(event.setLeader.clientName != _gthis.main.personal.name) {
return;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage