mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 06:34:16 +00:00
don't assign cursor in headless mode
This commit is contained in:
parent
07a67f73e5
commit
301db837b8
1 changed files with 2 additions and 1 deletions
|
@ -486,7 +486,8 @@ namespace SanAndreasUnity.Behaviours
|
||||||
|
|
||||||
mouseFix.Apply();
|
mouseFix.Apply();
|
||||||
|
|
||||||
Cursor.SetCursor(mouseFix, Vector2.zero, CursorMode.Auto);
|
if (!F.IsInHeadlessMode)
|
||||||
|
Cursor.SetCursor(mouseFix, Vector2.zero, CursorMode.Auto);
|
||||||
});
|
});
|
||||||
|
|
||||||
// fist texture
|
// fist texture
|
||||||
|
|
Loading…
Reference in a new issue