File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
GameplayObjects/RuntimeDataContainers Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,11 @@ public void PlayAction(ref ActionRequestData data)
118
118
var actionFX = anticipatedActionIndex >= 0 ? m_PlayingActions [ anticipatedActionIndex ] : ActionFactory . CreateActionFromData ( ref data ) ;
119
119
if ( actionFX . OnStartClient ( CharacterVisualization ) )
120
120
{
121
- m_PlayingActions . Add ( actionFX ) ;
121
+ if ( anticipatedActionIndex < 0 )
122
+ {
123
+ m_PlayingActions . Add ( actionFX ) ;
124
+ }
125
+ //otherwise just let the action sit in it's existing slot
122
126
}
123
127
else if ( anticipatedActionIndex >= 0 )
124
128
{
Original file line number Diff line number Diff line change @@ -40,5 +40,10 @@ public override int GetHashCode()
40
40
{
41
41
return ! ( x == y ) ;
42
42
}
43
+
44
+ public override string ToString ( )
45
+ {
46
+ return $ "ActionID({ ID } )";
47
+ }
43
48
}
44
49
}
You can’t perform that action at this time.
0 commit comments