Commit aa60e631 authored by SherryChaos's avatar SherryChaos

fix server creation args

parent d10be7d4
......@@ -33135,7 +33135,7 @@ CanvasGroup:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 679615499}
m_Enabled: 1
m_Alpha: 1
m_Alpha: 0
m_Interactable: 1
m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0
......@@ -52788,7 +52788,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, 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_Pivot: {x: 0, y: 1}
--- !u!1 &1110086322
......@@ -104850,7 +104850,7 @@ CanvasGroup:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2140741781}
m_Enabled: 1
m_Alpha: 0
m_Alpha: 1
m_Interactable: 1
m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0
......@@ -86,6 +86,7 @@ namespace MDPro3
Program.I().cutin.Load();
Program.I().mate.Load();
Program.I().solo.Load();
Online.severSelectionsInitialized = false;
}
IEnumerator LoadDiyWallpaperAsync(string path, Transform parent)
......
......@@ -195,20 +195,25 @@ namespace MDPro3
string GetPoolCodeByName(string pool)
{
for (int i = 1481; i < 1487; i++)
{
if (StringHelper.GetUnsafe(i) == pool)
return (i - 1481).ToString();
}
return "5";
}
string GetModeCodeByName(string mode)
{
for (int i = 1244; i < 1247; i++)
{
if (StringHelper.GetUnsafe(i) == mode)
return (i - 1244).ToString();
}
return "0";
}
public List<string> serverSelections;
bool severSelectionsInitialized;
public static bool severSelectionsInitialized;
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