Misc DB fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user