v1.3.0.1 (Epic Store release)
This commit is contained in:
@@ -20,7 +20,7 @@ partial class EventLogAction : EventAction
|
||||
if (target is Character character)
|
||||
{
|
||||
var ownerClient = GameMain.Server.ConnectedClients.Find(c => c.Character == character);
|
||||
if (ownerClient != null && eventLog != null)
|
||||
if (ownerClient != null)
|
||||
{
|
||||
targetClients.Add(ownerClient);
|
||||
}
|
||||
@@ -38,7 +38,7 @@ partial class EventLogAction : EventAction
|
||||
}
|
||||
else
|
||||
{
|
||||
if (eventLog != null && eventLog.TryAddEntry(ParentEvent.Prefab.Identifier, Id, displayText, GameMain.Server.ConnectedClients) && ShowInServerLog)
|
||||
if (eventLog.TryAddEntry(ParentEvent.Prefab.Identifier, Id, displayText, GameMain.Server.ConnectedClients) && ShowInServerLog)
|
||||
{
|
||||
Log(targetClients: null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user