Commit aa60e631 authored by SherryChaos's avatar SherryChaos

fix server creation args

parent d10be7d4
...@@ -33135,7 +33135,7 @@ CanvasGroup: ...@@ -33135,7 +33135,7 @@ CanvasGroup:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 679615499} m_GameObject: {fileID: 679615499}
m_Enabled: 1 m_Enabled: 1
m_Alpha: 1 m_Alpha: 0
m_Interactable: 1 m_Interactable: 1
m_BlocksRaycasts: 1 m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0 m_IgnoreParentGroups: 0
...@@ -52788,7 +52788,7 @@ RectTransform: ...@@ -52788,7 +52788,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: -0.000030517578}
m_SizeDelta: {x: 0, y: 300} m_SizeDelta: {x: 0, y: 300}
m_Pivot: {x: 0, y: 1} m_Pivot: {x: 0, y: 1}
--- !u!1 &1110086322 --- !u!1 &1110086322
...@@ -104850,7 +104850,7 @@ CanvasGroup: ...@@ -104850,7 +104850,7 @@ CanvasGroup:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2140741781} m_GameObject: {fileID: 2140741781}
m_Enabled: 1 m_Enabled: 1
m_Alpha: 0 m_Alpha: 1
m_Interactable: 1 m_Interactable: 1
m_BlocksRaycasts: 1 m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0 m_IgnoreParentGroups: 0
...@@ -86,6 +86,7 @@ namespace MDPro3 ...@@ -86,6 +86,7 @@ namespace MDPro3
Program.I().cutin.Load(); Program.I().cutin.Load();
Program.I().mate.Load(); Program.I().mate.Load();
Program.I().solo.Load(); Program.I().solo.Load();
Online.severSelectionsInitialized = false;
} }
IEnumerator LoadDiyWallpaperAsync(string path, Transform parent) IEnumerator LoadDiyWallpaperAsync(string path, Transform parent)
......
...@@ -195,20 +195,25 @@ namespace MDPro3 ...@@ -195,20 +195,25 @@ namespace MDPro3
string GetPoolCodeByName(string pool) string GetPoolCodeByName(string pool)
{ {
for (int i = 1481; i < 1487; i++)
{
if (StringHelper.GetUnsafe(i) == pool)
return (i - 1481).ToString();
}
return "5"; return "5";
} }
string GetModeCodeByName(string mode) string GetModeCodeByName(string mode)
{ {
for (int i = 1244; i < 1247; i++)
{
if (StringHelper.GetUnsafe(i) == mode)
return (i - 1244).ToString();
}
return "0"; return "0";
} }
public List<string> serverSelections; public List<string> serverSelections;
bool severSelectionsInitialized; public static bool severSelectionsInitialized;
public void OnServer() public void OnServer()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment