Misc DB fixes

This commit is contained in:
hondacrx
2018-01-06 23:43:55 -05:00
parent befc9fcae7
commit 17bfacc0ea
29 changed files with 1809567 additions and 3 deletions
+2 -1
View File
@@ -255,7 +255,8 @@ namespace Framework.Database
uint oldMSTime = Time.GetMSTime();
// Update database
_database.ApplyFile(path);
if (!_database.ApplyFile(path))
throw new Exception("Update Failed");
// Return time the query took to apply
return Time.GetMSTimeDiffToNow(oldMSTime);
+2 -2
View File
@@ -22,7 +22,7 @@ namespace Game.Network.Packets
{
class PlayScene : ServerPacket
{
public PlayScene() : base(ServerOpcodes.PlayScene) { }
public PlayScene() : base(ServerOpcodes.PlayScene, ConnectionType.Instance) { }
public override void Write()
{
@@ -44,7 +44,7 @@ namespace Game.Network.Packets
class CancelScene : ServerPacket
{
public CancelScene() : base(ServerOpcodes.CancelScene) { }
public CancelScene() : base(ServerOpcodes.CancelScene, ConnectionType.Instance) { }
public override void Write()
{