This commit is contained in:
dhain 2022-05-19 16:13:53 +02:00
parent 7a04d79aba
commit 470aeff3f3
4 changed files with 3659 additions and 3 deletions

View file

@ -24,7 +24,7 @@ public class TileBehaviour : MonoBehaviour
void OnMouseDown()
{
Debug.Log("Clicked");
UsableItem usable = PlayerController.getInstance().SelectedItem;
UsableItem usable = PlayerController.instance.GetSelectedItem();
BaseTile tileToSetTo = null;
if (usable.GetType() == typeof(TerraformingTool))
{