Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenRpg.Core/Variables/DefaultKeyedVariables.cs
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ public T this[K index]
}
}

public T GetVariable(K key) => ContainsKey(key) ? InternalVariables[key] : default;
public T GetVariable(K key) => ContainsKey(key) ? InternalVariables[key] : default(T);

public void AddVariable(K key, T value)
{

0 comments on commit fb2d49e

Please sign in to comment.