temp fixes and stability improvements
This commit is contained in:
@@ -14,11 +14,12 @@ namespace Qoo.Game
|
||||
// Token: 0x06000611 RID: 1553 RVA: 0x00019374 File Offset: 0x00017574
|
||||
internal static bool KsExecProc(string Func, string Param, string Value, int count)
|
||||
{
|
||||
Dictionary<string,int> dict = null;
|
||||
if (Func != null)
|
||||
{
|
||||
if (KsExec.<>f__switch$map1 == null)
|
||||
if (dict == null)
|
||||
{
|
||||
KsExec.<>f__switch$map1 = new Dictionary<string, int>(2)
|
||||
dict = new Dictionary<string, int>(2)
|
||||
{
|
||||
{
|
||||
"inputname",
|
||||
@@ -31,7 +32,7 @@ namespace Qoo.Game
|
||||
};
|
||||
}
|
||||
int num;
|
||||
if (KsExec.<>f__switch$map1.TryGetValue(Func, out num))
|
||||
if (dict.TryGetValue(Func, out num))
|
||||
{
|
||||
if (num != 0)
|
||||
{
|
||||
@@ -144,7 +145,7 @@ namespace Qoo.Game
|
||||
// Token: 0x06000614 RID: 1556 RVA: 0x00019604 File Offset: 0x00017804
|
||||
private static void KeyboardMain()
|
||||
{
|
||||
switch (Application.platform)
|
||||
switch (UnityEngine.Application.platform)
|
||||
{
|
||||
case RuntimePlatform.IPhonePlayer:
|
||||
case RuntimePlatform.Android:
|
||||
|
||||
Reference in New Issue
Block a user