diff --git a/Project/Modules/Beacon.xojo_code b/Project/Modules/Beacon.xojo_code index a2a5a61ac..614ae7a09 100644 --- a/Project/Modules/Beacon.xojo_code +++ b/Project/Modules/Beacon.xojo_code @@ -1754,9 +1754,6 @@ Protected Module Beacon #tag Constant, Name = FileExtensionXml, Type = String, Dynamic = False, Default = \".xml", Scope = Protected #tag EndConstant - #tag Constant, Name = FixedTimestamp, Type = Double, Dynamic = False, Default = \"1695052800", Scope = Public - #tag EndConstant - #tag Constant, Name = FTPModeExplicitTLS, Type = String, Dynamic = False, Default = \"ftp+tls", Scope = Protected #tag EndConstant diff --git a/Project/Modules/Beacon/ContentPack.xojo_code b/Project/Modules/Beacon/ContentPack.xojo_code index 0b93b27ec..e6d14d5a3 100644 --- a/Project/Modules/Beacon/ContentPack.xojo_code +++ b/Project/Modules/Beacon/ContentPack.xojo_code @@ -57,7 +57,7 @@ Protected Class ContentPack Shared Function CreateUserContentPack(GameId As String, Name As String, ContentPackId As String) As Beacon.ContentPack Var Pack As New Beacon.ContentPack(GameId, Name, ContentPackId) Pack.mIsConsoleSafe = True - Pack.mLastUpdate = Beacon.FixedTimestamp + Pack.mLastUpdate = DateTime.Now.SecondsFrom1970 Pack.mIsDefaultEnabled = True Pack.mType = Beacon.ContentPack.TypeLocal Pack.mRequired = False diff --git a/Project/Modules/Game Support/Ark/DataSource.xojo_code b/Project/Modules/Game Support/Ark/DataSource.xojo_code index e44ad340f..0d56710c4 100644 --- a/Project/Modules/Game Support/Ark/DataSource.xojo_code +++ b/Project/Modules/Game Support/Ark/DataSource.xojo_code @@ -820,7 +820,7 @@ Inherits Beacon.DataSource #tag Event Sub Open() Var Rows As RowSet = Self.SQLSelect("SELECT type, console_safe, default_enabled, last_update FROM content_packs WHERE content_pack_id = ?1;", Ark.UserContentPackId) - If (Rows Is Nil) Or Rows.RowCount = 0 Or Rows.Column("type").IntegerValue <> Beacon.ContentPack.TypeLocal Or Rows.Column("console_safe").BooleanValue = False Or Rows.Column("default_enabled").BooleanValue = False Or Rows.Column("last_update").DoubleValue <> Beacon.FixedTimestamp Then + If (Rows Is Nil) Or Rows.RowCount = 0 Or Rows.Column("type").IntegerValue <> Beacon.ContentPack.TypeLocal Or Rows.Column("console_safe").BooleanValue = False Or Rows.Column("default_enabled").BooleanValue = False Then Self.ReplaceUserBlueprints() End If End Sub diff --git a/Project/Modules/Game Support/ArkSA/DataSource.xojo_code b/Project/Modules/Game Support/ArkSA/DataSource.xojo_code index 0712efec5..8ce9db349 100644 --- a/Project/Modules/Game Support/ArkSA/DataSource.xojo_code +++ b/Project/Modules/Game Support/ArkSA/DataSource.xojo_code @@ -704,7 +704,7 @@ Inherits Beacon.DataSource #tag Event Sub PerformMaintenance() Var Rows As RowSet = Self.SQLSelect("SELECT type, console_safe, default_enabled, last_update FROM content_packs WHERE content_pack_id = ?1;", ArkSA.UserContentPackId) - If (Rows Is Nil) Or Rows.RowCount = 0 Or Rows.Column("type").IntegerValue <> Beacon.ContentPack.TypeLocal Or Rows.Column("console_safe").BooleanValue = False Or Rows.Column("default_enabled").BooleanValue = False Or Rows.Column("last_update").DoubleValue <> Beacon.FixedTimestamp Then + If (Rows Is Nil) Or Rows.RowCount = 0 Or Rows.Column("type").IntegerValue <> Beacon.ContentPack.TypeLocal Or Rows.Column("console_safe").BooleanValue = False Or Rows.Column("default_enabled").BooleanValue = False Then Self.ReplaceUserBlueprints() End If