diff options
| author | RblSb <msrblsb@gmail.com> | 2021-08-01 14:34:54 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2021-08-01 14:34:54 +0300 |
| commit | 96e10fe71d6428eed4bb2f120bc4b3a2801ff4be (patch) | |
| tree | 56ca927ebb3ead25e466c14235f478e652dab595 /res | |
| parent | b8827aa6df5c58fb5655c8519477ea93694617f3 (diff) | |
Improve autopause
Diffstat (limited to 'res')
| -rw-r--r-- | res/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/client.js b/res/client.js index cd1c21e..80418d4 100644 --- a/res/client.js +++ b/res/client.js @@ -2079,7 +2079,7 @@ client_Player.prototype = { } ,onPause: function() { var _gthis = this; - if(this.main.hasLeaderOnPauseRequest() && !this.main.hasLeader()) { + if(this.main.hasLeaderOnPauseRequest() && this.getTime() != 0 && !this.main.hasLeader()) { client_JsApi.once("SetLeader",function(event) { if(event.setLeader.clientName != _gthis.main.personal.name) { return; |
