Fixed missing call to UpdateTimeOfDay in GetTimeOfDay for inside buildings check

This commit is contained in:
Eduardo Quezada 2024-10-08 16:35:33 -03:00
parent 1d9557811b
commit e68cdfeb3c

View File

@ -328,6 +328,7 @@ bool8 IsBetweenHours(s32 hours, s32 begin, s32 end)
u8 GetTimeOfDay(void)
{
UpdateTimeOfDay();
return gTimeOfDay;
}