Modernization Fixes & Updates to Default Values (#3)

This commit is contained in:
Kamron Batman 2018-10-28 00:33:16 -07:00 • committed by GitHub
parent 445eddff68
commit dcf64091b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
768 changed files with 10507 additions and 14196 deletions

View file

@ -67,9 +67,7 @@ namespace Server
if (m_LevelOverride > int.MinValue)
return m_LevelOverride;
int hours, minutes;
Clock.GetTime(from.Map, from.X, from.Y, out hours, out minutes);
Clock.GetTime(from.Map, from.X, from.Y, out int hours, out int minutes);
/* OSI times:
*
@ -130,7 +128,7 @@ namespace Server
protected override void OnTick()
{
m_Owner.EndAction(typeof(LightCycle));
m_Owner.EndAction<LightCycle>();
m_Owner.LightLevel = 0;
BuffInfo.RemoveBuff(m_Owner, BuffIcon.NightSight);
}