diff --git a/engine/source/xblive/xbliveFunctions.cpp b/engine/source/xblive/xbliveFunctions.cpp index 718d967d..707d797d 100644 --- a/engine/source/xblive/xbliveFunctions.cpp +++ b/engine/source/xblive/xbliveFunctions.cpp @@ -114,6 +114,29 @@ ConsoleFunction(XBLiveGetSignInPort, S32, 1, 1, "()") return 0; } +bool xbliveSessionActive = false; + +ConsoleFunction(XBLiveIsStatsSessionActive, bool, 1, 1, "()") +{ + argc; + + return xbliveSessionActive; +} + +ConsoleFunction(XBLiveStartStatsSession, void, 1, 1, "()") +{ + argc; + + xbliveSessionActive = true; +} + +ConsoleFunction(XBLiveEndStatsSession, void, 1, 1, "()") +{ + argc; + + xbliveSessionActive = false; +} + ConsoleFunction(PDLCAllowMission, bool, 2, 2, "(levelId)") { argc; diff --git a/game/marble/client/scripts/game.cs b/game/marble/client/scripts/game.cs index 5b817aab..81b46d8b 100644 --- a/game/marble/client/scripts/game.cs +++ b/game/marble/client/scripts/game.cs @@ -733,7 +733,7 @@ function clientWriteMultiplayerScore(%client) function clientAreStatsAllowed() { - return !isDemoLaunch() && !isPCBuild() && XBLiveIsSignedInSilver() && $Client::UseXBLiveMatchMaking; + return !isDemoLaunch();// && !isPCBuild() && XBLiveIsSignedInSilver() && $Client::UseXBLiveMatchMaking; } function clientAreOfflineStatsAllowed()