some cleanup and modernization
This commit is contained in:
parent
6d6866ea17
commit
cfb2d9421a
4 changed files with 6 additions and 10 deletions
|
|
@ -10,11 +10,11 @@ namespace Server.Engines.MyRunUO
|
|||
public static bool Enabled = false;
|
||||
|
||||
// Details required for database connection string
|
||||
public const string DatabaseDriver = "{MySQL ODBC 3.51 Driver}";
|
||||
public const string DatabaseServer = "localhost";
|
||||
public const string DatabaseName = "MyRunUO";
|
||||
public const string DatabaseUserID = "username";
|
||||
public const string DatabasePassword = "password";
|
||||
public const string DatabaseDriver = "{MySQL ODBC 5.2w Driver}";
|
||||
public const string DatabaseServer = "localhost";
|
||||
public const string DatabaseName = "MyRunUO";
|
||||
public const string DatabaseUserID = "username";
|
||||
public const string DatabasePassword = "password";
|
||||
|
||||
// Should the database use transactions? This is recommended
|
||||
public static bool UseTransactions = true;
|
||||
|
|
|
|||
|
|
@ -134,9 +134,6 @@ namespace Server.Engines.Events
|
|||
else
|
||||
{
|
||||
m_Timer.Stop();
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2563,7 +2563,6 @@ namespace Server.Mobiles
|
|||
if ( !bValid )
|
||||
continue;
|
||||
} else {
|
||||
|
||||
// Same goes for faction enemies.
|
||||
if ( bFacFoe && !m_Mobile.IsEnemy( m ) )
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
using Server;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Multis;
|
||||
using Server.Targeting;
|
||||
using Server.Items;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue