mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-08-06 20:06:21 -07:00
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