More small changes

This commit is contained in:
clb92
2016-07-06 04:15:13 +02:00
parent cede8d45cb
commit 1d1ccf30d7
3 changed files with 25 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ Resources.prototype.despawnDrop = function(i) {
this.locations.splice(i, 1);
}
Resources.prototype.removeDrop = function(x, y, despawn = false) {
Resources.prototype.removeDrop = function(x, y) {
for (var i = 0; i < this.locations.length; i++) {
if (this.locations[i][0] === x) {
for (var i = 0; i < this.locations.length; i++) {