diff options
author | grunjol <grunjol@argenteam.net> | 2015-02-18 04:02:42 +0300 |
---|---|---|
committer | grunjol <grunjol@argenteam.net> | 2015-02-18 04:02:42 +0300 |
commit | e2ca8c43db706fb803c3be5f97348db7b46596ed (patch) | |
tree | ae4774c7cede4422ba5fa27362781800bc549323 /lib/storage.js | |
parent | df663925b5218ab7ff6a3c268a56ecd5091390ad (diff) |
Allow to cancel reserve on unwritten blocks
Diffstat (limited to 'lib/storage.js')
-rw-r--r-- | lib/storage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/storage.js b/lib/storage.js index 539d83b..3721fe4 100644 --- a/lib/storage.js +++ b/lib/storage.js @@ -104,7 +104,7 @@ Piece.prototype.reserveBlock = function (endGame) { Piece.prototype.cancelBlock = function (offset) { var self = this - if (!self.buffer || !self._verifyOffset(offset)) { + if (!self._verifyOffset(offset)) { return false } |