Codechange: move all date-related variables inside the timer (#10706)
This commit is contained in:
@@ -212,7 +212,7 @@ public:
|
||||
* Check if job is supposed to be finished.
|
||||
* @return True if job should be finished by now, false if not.
|
||||
*/
|
||||
inline bool IsScheduledToBeJoined() const { return this->join_date <= _date; }
|
||||
inline bool IsScheduledToBeJoined() const { return this->join_date <= TimerGameCalendar::date; }
|
||||
|
||||
/**
|
||||
* Get the date when the job should be finished.
|
||||
|
||||
Reference in New Issue
Block a user