Advertisement
Clarkelele

Untitled

Dec 4th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. foreach (LinkOut link in linksOut) {
  2. if (link.target.Limited()
  3. && link.target.capacity < link.amount
  4. && link.target.amount + link.amount > link.target.capacity)
  5. {
  6. return false;
  7. }
  8. }
  9. return true;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement