Skip to content

Commit

Permalink
fixed bug with fixed update in echo agent
Browse files Browse the repository at this point in the history
  • Loading branch information
p3nGu1nZz committed Apr 9, 2024
1 parent 91e02d4 commit 3b5d8ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Agents/EchoAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public void FixedUpdate()

if (_CachedString.EndsWith(AgentUtils.k_EndOfSequence))
{
_CachedString = _CachedString.Replace(AgentUtils.k_EndOfSequence, "");
Terminal.Instance.Shell.Run(_CachedString);
string _commandLine = _CachedString.Replace(AgentUtils.k_EndOfSequence, "");
Terminal.Instance.Shell.Run(_commandLine);
}

if (_CachedString == _ExpectedString)
Expand Down

0 comments on commit 3b5d8ae

Please sign in to comment.