aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dedicated.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-11 17:00:59 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-11 17:00:59 +0000
commit12b5d0b85a4a1cb55b068a3fbb357c30a52c1e20 (patch)
tree9f348642f3a157655703b2fdbafe91c44740e1eb /NorthstarDedicatedTest/dedicated.cpp
parent3cf310cc9f8b400a100abd1067505c89c99259ab (diff)
downloadNorthstarLauncher-12b5d0b85a4a1cb55b068a3fbb357c30a52c1e20.tar.gz
NorthstarLauncher-12b5d0b85a4a1cb55b068a3fbb357c30a52c1e20.zip
write_persistence fix
Diffstat (limited to 'NorthstarDedicatedTest/dedicated.cpp')
-rw-r--r--NorthstarDedicatedTest/dedicated.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/dedicated.cpp b/NorthstarDedicatedTest/dedicated.cpp
index a2f174ff..4c263d0c 100644
--- a/NorthstarDedicatedTest/dedicated.cpp
+++ b/NorthstarDedicatedTest/dedicated.cpp
@@ -68,7 +68,7 @@ void RunServer(CDedicatedExports* dedicated)
if (!maxPlayers)
maxPlayers = "6";
- SetConsoleTitleA(fmt::format("Titanfall 2 dedicated server - {} {}/{} players", g_pHostState->m_levelName, g_ServerAuthenticationManager->m_additionalPlayerData.size(), maxPlayers).c_str());
+ SetConsoleTitleA(fmt::format("Titanfall 2 dedicated server - {} {}/{} players ({})", g_pHostState->m_levelName, g_ServerAuthenticationManager->m_additionalPlayerData.size(), maxPlayers, GetCurrentPlaylistName()).c_str());
Sleep(1.0 / Cvar_base_tickinterval_mp->m_fValue); // currently only supports mp, doesnt really matter rn though since most sp levels crash on dedi
}
}