kopia lustrzana https://github.com/backface/turtlestitch
Fixed indentation issue
rodzic
a8baea7df9
commit
c8bb7ce225
14
objects.js
14
objects.js
|
@ -3707,13 +3707,13 @@ SpriteMorph.prototype.reactToDropOf = function (morph, hand) {
|
||||||
};
|
};
|
||||||
|
|
||||||
SpriteMorph.prototype.newCostumeNameCached = function (data) {
|
SpriteMorph.prototype.newCostumeNameCached = function (data) {
|
||||||
if (this.screenshotNames.hasOwnProperty(data)) { // Screenshot naming
|
if (this.screenshotNames.hasOwnProperty(data)) { // Screenshot naming
|
||||||
this.screenshotNames[data] += 1;
|
this.screenshotNames[data] += 1;
|
||||||
data += '(' + this.screenshotNames[data] + ')';
|
data += '(' + this.screenshotNames[data] + ')';
|
||||||
} else {
|
} else {
|
||||||
this.screenshotNames[data] = 0;
|
this.screenshotNames[data] = 0;
|
||||||
}
|
}
|
||||||
return data;
|
return data;
|
||||||
};
|
};
|
||||||
|
|
||||||
var re = /\((\d+)\)$/;
|
var re = /\((\d+)\)$/;
|
||||||
|
|
Ładowanie…
Reference in New Issue