Skip to content

Commit 8e787f6

Browse files
committed
fix(RegionMap): save() returns actual write success instead of hardcoded true
1 parent ccda0a9 commit 8e787f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/helpers/RegionMap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ bool RegionMap::save(FILESYSTEM* _fs, const char* path) {
139139
}
140140
}
141141
file.close();
142-
return true;
142+
return success;
143143
}
144144
return false; // failed
145145
}

0 commit comments

Comments
 (0)