Add wrappers to get and update the current effective day length factor
This commit is contained in:
@@ -887,6 +887,11 @@ struct GameSettings {
|
||||
TimeSettings game_time; ///< time display settings.
|
||||
|
||||
OldEconomySettings old_economy;
|
||||
|
||||
uint8_t EffectiveDayLengthFactor() const
|
||||
{
|
||||
return this->economy.day_length_factor;
|
||||
}
|
||||
};
|
||||
|
||||
/** All settings that are only important for the local client. */
|
||||
|
Reference in New Issue
Block a user