Skip to content
Snippets Groups Projects
Commit a480a82c authored by Kevin Lee's avatar Kevin Lee
Browse files

move objects that have been grabbed to the back of the delete queue

parent feb0f614
No related branches found
No related tags found
No related merge requests found
...@@ -77,6 +77,7 @@ AFRAME.registerComponent("networked-counter", { ...@@ -77,6 +77,7 @@ AFRAME.registerComponent("networked-counter", {
_onReleased: function(id, e) { _onReleased: function(id, e) {
this._removeTimeout(id); this._removeTimeout(id);
this._addTimeout(id); this._addTimeout(id);
this.queue[id].ts = Date.now();
}, },
_removeOldest: function() { _removeOldest: function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment