math.max -> math.min for determining max weight in nested containers, thanks volturno
This commit is contained in:
parent
b9a6e8acfe
commit
4386cbac99
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ namespace Server.Items
|
|||
maxWeight = ((Container)Parent).MaxWeight;
|
||||
|
||||
if ( maxWeight > 0 )
|
||||
maxWeight = Math.Max( maxWeight, DefaultMaxWeight );
|
||||
maxWeight = Math.Min( maxWeight, DefaultMaxWeight );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue