Convert alot of methods to use TimeSpan.
This commit is contained in:
@@ -20,6 +20,7 @@ using Game.DataStorage;
|
||||
using Game.Groups;
|
||||
using Game.Networking.Packets;
|
||||
using Game.Spells;
|
||||
using System;
|
||||
|
||||
namespace Game.Entities
|
||||
{
|
||||
@@ -99,7 +100,7 @@ namespace Game.Entities
|
||||
{
|
||||
if (msTime != 0)
|
||||
{
|
||||
m_Events.AddEvent(new ForcedUnsummonDelayEvent(this), m_Events.CalculateTime(msTime));
|
||||
m_Events.AddEvent(new ForcedUnsummonDelayEvent(this), m_Events.CalculateTime(TimeSpan.FromMilliseconds(msTime)));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user