refactoring

This commit is contained in:
klemek
2020-12-17 13:22:12 +01:00
parent bb6bc82b0b
commit 22ff2ea60b
5 changed files with 68 additions and 52 deletions
+4 -2
View File
@@ -183,8 +183,10 @@ namespace UntitledLogicGame
private void SetCursor()
{
Texture2D cursor = DefaultCursor;
Vector2 position = Vector2.zero;
var cursor = DefaultCursor;
var position = Vector2.zero;
//TODO fix warning about invalid Texture2D
if(!Interacting && GameManager.Instance.CurrentAnchor != null || Interacting && _currentCable != null)
{