Working on android too (last push)

This commit is contained in:
brausjonas
2023-02-27 22:20:40 +01:00
parent e20308842a
commit 3d9a3c888c
3 changed files with 9 additions and 7 deletions
@@ -51,7 +51,7 @@ public class PlayablePlayer : Player
{
//Generiere Würfelzahl von 1-6 wenn gerade gewürfelt werden darf
if ((Input.GetMouseButtonDown(0) && !uiHandler.MapOpen) && wurfelZahl == 0 && !wurfelt)
if ((Input.GetMouseButtonUp(0) && !uiHandler.MapOpen) && wurfelZahl == 0 && !wurfelt)
{
if(!Physics.Raycast(new Vector3(Input.mousePosition.x, Input.mousePosition.y, -200), Vector3.forward))
{