From 1828d9c31c5f0d2f4313f53eaae769c7f0f8b9eb Mon Sep 17 00:00:00 2001 From: brausjonas Date: Tue, 11 Apr 2023 14:36:19 +0200 Subject: [PATCH] Fix Tewst --- FlufflParty/.idea/.idea.FlufflParty/.idea/workspace.xml | 1 - FlufflParty/Assets/Scripts/Players/NoPlayablePlayer.cs | 2 -- FlufflParty/Assets/Scripts/Players/PlayablePlayer.cs | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/FlufflParty/.idea/.idea.FlufflParty/.idea/workspace.xml b/FlufflParty/.idea/.idea.FlufflParty/.idea/workspace.xml index 57381c1..adca955 100644 --- a/FlufflParty/.idea/.idea.FlufflParty/.idea/workspace.xml +++ b/FlufflParty/.idea/.idea.FlufflParty/.idea/workspace.xml @@ -6,7 +6,6 @@ - diff --git a/FlufflParty/Assets/Scripts/Players/NoPlayablePlayer.cs b/FlufflParty/Assets/Scripts/Players/NoPlayablePlayer.cs index 4843243..387a062 100644 --- a/FlufflParty/Assets/Scripts/Players/NoPlayablePlayer.cs +++ b/FlufflParty/Assets/Scripts/Players/NoPlayablePlayer.cs @@ -38,8 +38,6 @@ public class NoPlayablePlayer : Player activated = false; diceScript = dice.GetComponent(); - - AddItem(client.items[1]); } private void Start() diff --git a/FlufflParty/Assets/Scripts/Players/PlayablePlayer.cs b/FlufflParty/Assets/Scripts/Players/PlayablePlayer.cs index 5289acd..526d642 100644 --- a/FlufflParty/Assets/Scripts/Players/PlayablePlayer.cs +++ b/FlufflParty/Assets/Scripts/Players/PlayablePlayer.cs @@ -212,7 +212,7 @@ public class PlayablePlayer : Player AddCoins(-3); break; case 2: //pinkes Feld - int randyPinkField = Random.Range(3, 3); + int randyPinkField = Random.Range(4, 4); int tempCurrentItems = -1; switch (randyPinkField) {