Open roboguy222 opened 7 years ago
What issue is this causing?
If one file is trying to read a file that the other is writing to, getData()
returns an old version of the data. I am not sure more data is ever able to write properly to the chest, actually.
File IO does not work properly if two dataChest's have the same file open. I think everything works fine if each closes the file after reading/writing, so we should do that.