Fixed return of GetTag to return value of searched Tag.
This commit is contained in:
parent
312536f0c0
commit
b3da6936da
@ -14,7 +14,7 @@ public class TagManager
|
||||
|
||||
public object? GetTag(ulong wayId, Tag.TagType key)
|
||||
{
|
||||
return ContainsKey(wayId, key) ? wayTagSets[wayId].First(tag => tag.key == key) : null;
|
||||
return ContainsKey(wayId, key) ? wayTagSets[wayId].First(tag => tag.key == key).value : null;
|
||||
}
|
||||
|
||||
public void AddTag(ulong wayId, string key, string value)
|
||||
|
Loading…
Reference in New Issue
Block a user