This commit is contained in:
2023-10-11 20:49:00 +03:00
parent 860051777e
commit 745d196a8b
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>none</DebugType>
<OutputPath>/Users/edmand46/RagonProjects/ragon-oss-becs/Assets/Ragon/Plugins</OutputPath>
<OutputPath>/Users/edmand46/RagonProjects/ragon-oss-becs/Assets/Ragon/Runtime/Plugins</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
@@ -40,6 +40,11 @@ public sealed class SceneLoadedOperation : BaseOperation
var owner = context.Room.Owner;
var player = context.RoomPlayer;
var room = context.Room;
if (player.IsLoaded)
{
_logger.Warn($"Player {player.Name}:{player.Connection.Id} already ready");
return;
}
if (player == owner)
{