Fix NPC obstacle handling (#13007)

This commit is contained in:
metalgearsloth
2022-12-15 15:30:28 +11:00
committed by GitHub
parent 6fa2391e42
commit a5b04b49b6
8 changed files with 63 additions and 107 deletions

View File

@@ -42,6 +42,11 @@ public sealed class NPCBlackboard : IEnumerable<KeyValuePair<string, object>>
/// </summary>
public bool ReadOnly = false;
public void Clear()
{
_blackboard.Clear();
}
public NPCBlackboard ShallowClone()
{
var dict = new NPCBlackboard();