diff --git a/world/jobs/voxel_job.cpp b/world/jobs/voxel_job.cpp index 6d0c813..73f3983 100644 --- a/world/jobs/voxel_job.cpp +++ b/world/jobs/voxel_job.cpp @@ -435,6 +435,11 @@ void VoxelJob::set_stage(const int value) { _stage = value; } +void VoxelJob::reset_stages() { + _current_run_stage = 0; + _stage = 0; +} + float VoxelJob::get_current_execution_time() { return 0; } diff --git a/world/jobs/voxel_job.h b/world/jobs/voxel_job.h index 023af5a..c459dcd 100644 --- a/world/jobs/voxel_job.h +++ b/world/jobs/voxel_job.h @@ -129,6 +129,8 @@ public: int get_stage() const; void set_stage(const int value); + void reset_stages(); + float get_current_execution_time(); bool should_do(const bool just_check = false);