summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index f616063f5..8479cbf9e 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1073,7 +1073,7 @@ void cWorld::TickScheduledTasks(void)
std::find_if(
m_ScheduledTasks.begin(),
m_ScheduledTasks.end(),
- [WorldAge] (std::unique_ptr<cScheduledTask>& Task) { return Task->m_TargetTick < m_WorldAge;}),
+ [WorldAge] (std::unique_ptr<cScheduledTask>& Task) { return Task->m_TargetTick < WorldAge;}),
std::back_inserter(Tasks));
}