Skip to content
Snippets Groups Projects
Commit b29b8cfc authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

.ini files need to be opened for read/write access when writing/updating

This happened to work before commit d49134e6 since iniReadFile()
didn't return false upon any read error, so File.iniSetAllObjects() didn't
realize that the read of (any) existing file contents had failed (because the
file was open write-only).

This explains why the *.avatars.ini files were pretty much blank as of late
and no networked message posters were having their avatars displayed.
Reported by Codefenix (thank you).

Add a print/log line to tell us how many avatars were parsed, just for extra
traceability of this script and any potential failure cause.
parent b9a65f47
No related branches found
No related tags found
No related merge requests found
Pipeline #7325 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment