1
0

Update World.cpp

This commit is contained in:
worktycho 2014-10-12 12:15:52 +01:00
parent 1a07dc897d
commit 8dfeb6e324

View File

@ -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));
}