This commit is contained in:
pypy
2020-01-20 19:54:46 +09:00
parent 5fe3347bf0
commit 8125e32691
+4 -4
View File
@@ -4041,7 +4041,7 @@ CefSharp.BindObjectAsync(
// App: gameLog // App: gameLog
$app.data.lastLocation = ''; $app.data.lastLocation = '';
$app.data.$lastLocation = {}; $app.data.lastLocation$ = {};
$app.data.discordActive = VRCXStorage.GetBool('discordActive'); $app.data.discordActive = VRCXStorage.GetBool('discordActive');
$app.data.discordInstance = VRCXStorage.GetBool('discordInstance'); $app.data.discordInstance = VRCXStorage.GetBool('discordInstance');
var saveDiscordOption = function () { var saveDiscordOption = function () {
@@ -4140,10 +4140,10 @@ CefSharp.BindObjectAsync(
Discord.SetActive(false); Discord.SetActive(false);
return; return;
} }
if (this.lastLocation !== this.$lastLocation.tag) { if (this.lastLocation !== this.lastLocation$.tag) {
var L = API.parseLocation(this.lastLocation); var L = API.parseLocation(this.lastLocation);
L.worldName = L.worldId; L.worldName = L.worldId;
this.$lastLocation = L; this.lastLocation$ = L;
if (L.worldId) { if (L.worldId) {
var ref = API.cachedWorlds.get(L.worldId); var ref = API.cachedWorlds.get(L.worldId);
if (ref) { if (ref) {
@@ -4160,7 +4160,7 @@ CefSharp.BindObjectAsync(
} }
// NOTE // NOTE
// 글자 수가 짧으면 업데이트가 안된다.. // 글자 수가 짧으면 업데이트가 안된다..
var LL = this.$lastLocation; var LL = this.lastLocation$;
if (LL.worldName.length < 2) { if (LL.worldName.length < 2) {
LL.worldName += '\uFFA0'.repeat(2 - LL.worldName.length); LL.worldName += '\uFFA0'.repeat(2 - LL.worldName.length);
} }