gg.easy.airship 0.1.2121 → 0.1.2122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -54,7 +54,7 @@ namespace Assets.Code.Luau {
|
|
|
54
54
|
LuauScript.Create(go, CoreEntryScript, LuauContext.Game, true);
|
|
55
55
|
}
|
|
56
56
|
stopwatch.Stop();
|
|
57
|
-
Debug.Log($"ScriptingEntryPoint elapsed time: {stopwatch.ElapsedMilliseconds}ms");
|
|
57
|
+
// Debug.Log($"ScriptingEntryPoint elapsed time: {stopwatch.ElapsedMilliseconds}ms");
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -281,8 +281,10 @@ namespace Code.VoiceChat {
|
|
|
281
281
|
// print("[server] received audio from peer " + senderPeerId);
|
|
282
282
|
RpcSendAudioToClient(senderPeerId, bytes, this.audioNonce);
|
|
283
283
|
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
if (Application.isEditor) {
|
|
285
|
+
var segment = FromByteArray<ChatroomAudioSegment>(bytes);
|
|
286
|
+
OnAudioReceived?.Invoke(senderPeerId, segment);
|
|
287
|
+
}
|
|
286
288
|
}
|
|
287
289
|
|
|
288
290
|
[ClientRpc(channel = Channels.Reliable)]
|