From 15014ba1089c7c4f1897fbce54d2c097d730889e Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Tue, 26 Dec 2023 20:00:05 -0500 Subject: [PATCH] Fix `TopicPort` not being included in session persistence --- .../Components/Session/SessionPersistor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Tgstation.Server.Host/Components/Session/SessionPersistor.cs b/src/Tgstation.Server.Host/Components/Session/SessionPersistor.cs index a916ea792b..d661564723 100644 --- a/src/Tgstation.Server.Host/Components/Session/SessionPersistor.cs +++ b/src/Tgstation.Server.Host/Components/Session/SessionPersistor.cs @@ -83,6 +83,7 @@ namespace Tgstation.Server.Host.Components.Session RebootState = reattachInformation.RebootState, LaunchSecurityLevel = reattachInformation.LaunchSecurityLevel, LaunchVisibility = reattachInformation.LaunchVisibility, + TopicPort = reattachInformation.TopicPort, }; db.ReattachInformations.Add(dbReattachInfo); @@ -116,6 +117,7 @@ namespace Tgstation.Server.Host.Components.Session dbReattachInfo.RebootState = reattachInformation.RebootState; dbReattachInfo.LaunchSecurityLevel = reattachInformation.LaunchSecurityLevel; dbReattachInfo.LaunchVisibility = reattachInformation.LaunchVisibility; + dbReattachInfo.TopicPort = reattachInformation.TopicPort; await db.Save(cancellationToken);