Hide unused photon logging options

This commit is contained in:
Natsumi
2021-12-16 07:42:45 +13:00
parent 6c89077276
commit 45c0b5e8e1
2 changed files with 20 additions and 16 deletions

View File

@@ -8056,6 +8056,7 @@ speechSynthesis.getVoices();
$app.data.photonLobbyTimeout = [];
$app.data.photonLobbyJointime = new Map();
$app.data.photonLobbyBots = [];
$app.data.photonLoggingEnabled = false;
$app.data.photonEventType = [
'MeshVisibility',
@@ -8420,6 +8421,7 @@ speechSynthesis.getVoices();
};
$app.methods.parsePhotonEvent = function (data, gameLogDate) {
this.photonLoggingEnabled = true;
if (data.Code === 226) {
// nothing
} else if (data.Code === 253) {