Fix combat action prediction (#19152)

* Fix action predictions

* Add ActionsAddedTest
This commit is contained in:
Leon Friedrich
2023-08-15 17:06:45 +12:00
committed by GitHub
parent cfccb5959a
commit cabc834e84
5 changed files with 84 additions and 5 deletions

View File

@@ -126,9 +126,6 @@ namespace Content.Client.Actions
public override void AddAction(EntityUid uid, ActionType action, EntityUid? provider, ActionsComponent? comp = null, bool dirty = true)
{
if (GameTiming.ApplyingState && !action.ClientExclusive)
return;
if (!Resolve(uid, ref comp, false))
return;