wip
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user