Fixed build.

This commit is contained in:
hondacrx
2021-11-16 13:26:18 -05:00
parent 943892fe6e
commit 2b2b0fe076
+1 -1
View File
@@ -34,7 +34,7 @@ namespace Scripts.World
bool IsXPBoostActive()
{
var now = Time.UnixTimeToDateTime(GameTime.GetGameTime()));
var now = Time.UnixTimeToDateTime(GameTime.GetGameTime());
uint weekdayMaskBoosted = WorldConfig.GetUIntValue(WorldCfg.XpBoostDaymask);
uint weekdayMask = (1u << now.Day);
bool currentDayBoosted = (weekdayMask & weekdayMaskBoosted) != 0;