fix: Fixes tick count calculcations (#1366)

This commit is contained in:
Kamron Batman 2023-03-09 21:00:17 -08:00 • committed by GitHub
parent 0645251ec7
commit dda55889f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 23 additions and 35 deletions

View file

@ -240,8 +240,7 @@ namespace Server.Engines.Help
m.SendMessage("A new page has been placed in the queue.");
}
if (m?.AccessLevel >= AccessLevel.Counselor && m.AutoPageNotify &&
Core.TickCount - m.LastMoveTime < 600000)
if (m?.AccessLevel >= AccessLevel.Counselor && m.AutoPageNotify && Core.TickCount - m.LastMoveTime < 600000)
{
isStaffOnline = true;
}