Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (LinkOut link in linksOut) {
- if (link.target.Limited()
- && link.target.capacity < link.amount
- && link.target.amount + link.amount > link.target.capacity)
- {
- return false;
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement