forked from mirror/Archipelago
Settings: validate FilePath hash on use (#5854)
This commit is contained in:
@@ -98,6 +98,8 @@ class Group:
|
||||
self._changed = True
|
||||
attr = new
|
||||
# resolve the path immediately when accessing it
|
||||
if attr.exists():
|
||||
attr.__class__.validate(attr.resolve())
|
||||
return attr.__class__(attr.resolve())
|
||||
return attr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user