Skip to content

Commit

Permalink
Merge pull request #3180 from ServUO/Argalep-patch-1
Browse files Browse the repository at this point in the history
Update BaseMount.cs
  • Loading branch information
kevin-10 committed Feb 25, 2018
2 parents 44ca515 + e149b0e commit 98984c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Scripts/Mobiles/Normal/BaseMount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,6 @@ public bool IsExpired(BaseMount mount)
{
if (m_Type == BlockMountType.RidingSwipe)
{
Console.WriteLine("{0} - {1}", m_Mount, mount);
if (DateTime.UtcNow < m_Expiration)
{
return false;
Expand All @@ -539,7 +538,6 @@ public bool IsExpired(BaseMount mount)
if (mount.Hits >= mount.HitsMax)
{
BaseMount.ExpireMountPrevention(m_Mobile);
Console.WriteLine("Expired1");
return true;
}
}
Expand All @@ -548,14 +546,13 @@ public bool IsExpired(BaseMount mount)
if (m_Mobile.Hits >= m_Mobile.HitsMax)
{
BaseMount.ExpireMountPrevention(m_Mobile);
Console.WriteLine("Expired2");
return true;
}
}

return false;
}
Console.WriteLine("Expired3");

BaseMount.ExpireMountPrevention(m_Mobile);
return DateTime.UtcNow >= m_Expiration;
}
Expand Down

0 comments on commit 98984c8

Please sign in to comment.