Item Sync
Looool ich werd immer blöder
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="f0abe486-ee58-49bd-ad63-04a8b3fc78ec" name="Changes" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/.idea.FlufflParty/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.FlufflParty/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Players/PlayablePlayer.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Players/PlayablePlayer.cs" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
|
||||
@@ -242,7 +242,7 @@ public class PlayablePlayer : Player
|
||||
if (tempCurrentItems >= 0)
|
||||
{
|
||||
int pickRandomItem = Random.Range(0, tempCurrentItems);
|
||||
items[pickRandomItem] = null;
|
||||
client.items[pickRandomItem] = null;
|
||||
itemInfoImages[pickRandomItem].color = new Color(0, 0, 0, 0);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user