Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 27db256902 |
@@ -162,7 +162,6 @@ public class RagonEntity : IRagonEntity
|
|||||||
if (Authority == RagonAuthority.OwnerOnly &&
|
if (Authority == RagonAuthority.OwnerOnly &&
|
||||||
Owner.Connection.Id != caller.Connection.Id)
|
Owner.Connection.Id != caller.Connection.Id)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"Player have not enough authority for event with Id {evnt.EventCode}");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ public sealed class SceneLoadedOperation : IRagonOperation
|
|||||||
Authority = eventAuthority,
|
Authority = eventAuthority,
|
||||||
AttachId = 0,
|
AttachId = 0,
|
||||||
StaticId = staticId,
|
StaticId = staticId,
|
||||||
|
BufferedEvents = context.Configuration.LimitBufferedEvents,
|
||||||
};
|
};
|
||||||
|
|
||||||
var entity = new RagonEntity(entityParameters);
|
var entity = new RagonEntity(entityParameters);
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ public struct RagonServerConfiguration
|
|||||||
public Dictionary<string, string> WebHooks;
|
public Dictionary<string, string> WebHooks;
|
||||||
|
|
||||||
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
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>()
|
private static Dictionary<string, ServerType> _serverTypes = new Dictionary<string, ServerType>()
|
||||||
{
|
{
|
||||||
{"enet", Server.ServerType.ENET},
|
{"enet", Server.ServerType.ENET},
|
||||||
|
|||||||
Reference in New Issue
Block a user