This commit is contained in:
Natsumi
2022-08-22 08:00:51 +12:00
parent 813343abce
commit ece68680a2
3 changed files with 12 additions and 5 deletions

View File

@@ -15226,7 +15226,7 @@ speechSynthesis.getVoices();
var D = this.newInstanceDialog;
var tags = [];
if (D.instanceName) {
D.instanceName = D.instanceName.replace(/[^A-Za-z0-9]/g, '');
D.instanceName = D.instanceName.replace(/[^A-Za-z0-9-_]/g, '');
tags.push(D.instanceName);
} else {
tags.push((99999 * Math.random() + 1).toFixed(0));
@@ -19708,6 +19708,9 @@ speechSynthesis.getVoices();
};
$app.methods.updateCurrentUserLocation = function () {
if (this.gameLogDisabled) {
return;
}
API.currentUser.location = this.lastLocation.location;
API.currentUser.travelingToLocation = this.lastLocationDestination;
API.currentUser.$travelingToTime = this.lastLocationDestinationTime;