|
@@ -1,4 +1,4 @@
|
|
|
-using System;
|
|
|
+using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.IO;
|
|
|
using System.Text.RegularExpressions;
|
|
@@ -208,7 +208,7 @@ namespace COM3D2.PropMyItem.Plugin
|
|
|
this.LoadMenuFiles(this._isForcedInit);
|
|
|
this._isForcedInit = false;
|
|
|
}
|
|
|
- if (this._isVisible && this._windowRect.Contains(new Vector2(Input.mousePosition.x, (float)Screen.height - Input.mousePosition.y)) && this._sceneLevel != 3)
|
|
|
+ if (this._isVisible && this._windowRect.Contains(new Vector2(Input.mousePosition.x, (float)Screen.height - Input.mousePosition.y)))
|
|
|
{
|
|
|
GameMain.Instance.MainCamera.SetControl(false);
|
|
|
if (Event.current.type != EventType.KeyDown && Event.current.type != EventType.KeyUp)
|
|
@@ -230,7 +230,7 @@ namespace COM3D2.PropMyItem.Plugin
|
|
|
// Token: 0x0600002F RID: 47 RVA: 0x00003A88 File Offset: 0x00001C88
|
|
|
public void OnGUI()
|
|
|
{
|
|
|
- if (this._sceneLevel == 3 || !this._isVisible)
|
|
|
+ if (!this._isVisible)
|
|
|
{
|
|
|
return;
|
|
|
}
|