File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Source/controls/local_coop Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1756,9 +1756,7 @@ size_t GetLocalCoopTotalPlayerCount()
17561756
17571757bool ShouldHideMainPanelForLocalCoop ()
17581758{
1759- if (!IsLocalCoopEnabled ())
1760- return false ;
1761- return g_LocalCoop.anyCoopPlayerInitializedCache ;
1759+ return IsLocalCoopEnabled ();
17621760}
17631761
17641762bool IsLocalCoopTargetObject (const Object *object)
Original file line number Diff line number Diff line change @@ -296,8 +296,8 @@ bool IsAnyLocalCoopPlayerInitialized();
296296/* *
297297 * @brief Check if the main panel should be hidden for local co-op.
298298 *
299- * Returns true when local co-op is enabled and at least one co-op player
300- * has spawned/initialized. Use this instead of directly checking g_LocalCoop state .
299+ * Returns true whenever local co-op is enabled (same policy as DrawView's
300+ * main panel UI), including character select before co-op players initialize .
301301 *
302302 * @return true if main panel should be hidden, false otherwise
303303 */
You can’t perform that action at this time.
0 commit comments