mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fixed broken broadcast events
events don't get out of order when a invalid event line throws exception handle the stats history update with no change throwing DBConcurrencyException
This commit is contained in:
@ -529,9 +529,9 @@ namespace IW4MAdmin
|
||||
if (E.Type == GameEvent.EventType.Broadcast)
|
||||
{
|
||||
// this is a little ugly but I don't want to change the abstract class
|
||||
if (E.Message != null)
|
||||
if (E.Data != null)
|
||||
{
|
||||
await E.Owner.ExecuteCommandAsync(E.Message);
|
||||
await E.Owner.ExecuteCommandAsync(E.Data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user