don't assign cursor in headless mode

This commit is contained in:
in0finite 2022-03-24 20:45:36 +01:00
parent 07a67f73e5
commit 301db837b8

View file

@ -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