Fixed build.
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Scripts.World
|
|||||||
|
|
||||||
bool IsXPBoostActive()
|
bool IsXPBoostActive()
|
||||||
{
|
{
|
||||||
var now = Time.UnixTimeToDateTime(GameTime.GetGameTime()));
|
var now = Time.UnixTimeToDateTime(GameTime.GetGameTime());
|
||||||
uint weekdayMaskBoosted = WorldConfig.GetUIntValue(WorldCfg.XpBoostDaymask);
|
uint weekdayMaskBoosted = WorldConfig.GetUIntValue(WorldCfg.XpBoostDaymask);
|
||||||
uint weekdayMask = (1u << now.Day);
|
uint weekdayMask = (1u << now.Day);
|
||||||
bool currentDayBoosted = (weekdayMask & weekdayMaskBoosted) != 0;
|
bool currentDayBoosted = (weekdayMask & weekdayMaskBoosted) != 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user