Browse Source

Merge pull request #2372 from jirogit/fix/region-save-return-value

fix(RegionMap): save() returns actual write success instead of hardcoded true
pull/1937/merge
Liam Cottle 5 days ago
committed by GitHub
parent
commit
acdf4e5bdc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/helpers/RegionMap.cpp

2
src/helpers/RegionMap.cpp

@ -139,7 +139,7 @@ bool RegionMap::save(FILESYSTEM* _fs, const char* path) {
} }
} }
file.close(); file.close();
return true; return success;
} }
return false; // failed return false; // failed
} }

Loading…
Cancel
Save