Advertisement
Guest User

Sad Code for Inventory

a guest
Sep 25th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. bool allMxxed = true;
  2.  
  3. foreach (InventorySlot slot in InventorySlots)
  4. {
  5. if(slot.Maxed == false)
  6. {
  7. allMxxed = false;
  8. }
  9. }
  10. if(allMxxed == true)
  11. {
  12. return null;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement