Sync Items Buy
This commit is contained in:
@@ -16,7 +16,7 @@ public class UIItem : MonoBehaviour
|
||||
{
|
||||
player.AddCoins(-item.Cost);
|
||||
UIHandler.GetInstance().ButtonBack();
|
||||
player.AddItem(item);
|
||||
((PlayablePlayer)player).AddItem(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user