mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-22 02:27:01 +08:00
fix: add thread safety for cave and river path mutexes
This commit is contained in:
@@ -63,5 +63,5 @@ void CaveCarver::cleanup_finished_caves() {
|
||||
|
||||
int CaveCarver::cave_sum() const { return m_paths.size(); }
|
||||
float& CaveCarver::cave_probability() { return m_cave_probability; }
|
||||
|
||||
std::shared_mutex& CaveCarver::path_mutex() { return m_path_mutex; }
|
||||
} // namespace Cubed
|
||||
Reference in New Issue
Block a user