action refactor proper ecs edition (#27422)
This commit is contained in:
@@ -28,7 +28,7 @@ public sealed class GoliathTentacleSystem : EntitySystem
|
||||
|
||||
private void OnSummonAction(GoliathSummonTentacleAction args)
|
||||
{
|
||||
if (args.Handled || args.Coords is not { } coords)
|
||||
if (args.Handled)
|
||||
return;
|
||||
|
||||
// TODO: animation
|
||||
@@ -36,6 +36,7 @@ public sealed class GoliathTentacleSystem : EntitySystem
|
||||
_popup.PopupPredicted(Loc.GetString("tentacle-ability-use-popup", ("entity", args.Performer)), args.Performer, args.Performer, type: PopupType.SmallCaution);
|
||||
_stun.TryStun(args.Performer, TimeSpan.FromSeconds(0.8f), false);
|
||||
|
||||
var coords = args.Target;
|
||||
List<EntityCoordinates> spawnPos = new();
|
||||
spawnPos.Add(coords);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user