Skip to content

Commit

Permalink
🐛 scene entities not execute buffered events
Browse files Browse the repository at this point in the history
  • Loading branch information
edmand46 committed Sep 3, 2023
1 parent 8705e93 commit 27db256
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Ragon.Server/Sources/Entity/RagonEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ RagonTarget targetMode
if (Authority == RagonAuthority.OwnerOnly &&
Owner.Connection.Id != caller.Connection.Id)
{
Console.WriteLine($"Player have not enough authority for event with Id {evnt.EventCode}");
return;
}

Expand Down
1 change: 1 addition & 0 deletions Ragon.Server/Sources/Handler/SceneLoadedOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public void Handle(RagonContext context, RagonBuffer reader, RagonBuffer writer)
Authority = eventAuthority,
AttachId = 0,
StaticId = staticId,
BufferedEvents = context.Configuration.LimitBufferedEvents,
};

var entity = new RagonEntity(entityParameters);
Expand Down
2 changes: 1 addition & 1 deletion Ragon.Server/Sources/RagonServerConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public struct RagonServerConfiguration
public Dictionary<string, string> WebHooks;

private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
private static readonly string ServerVersion = "1.2.0-rc";
private static readonly string ServerVersion = "1.2.9-rc";
private static Dictionary<string, ServerType> _serverTypes = new Dictionary<string, ServerType>()
{
{"enet", Server.ServerType.ENET},
Expand Down

0 comments on commit 27db256

Please sign in to comment.