Networking bugfixes & optimization
This commit is contained in:
@@ -139,16 +139,17 @@ namespace Subsurface
|
||||
if (items[i] != null)
|
||||
{
|
||||
bool combined = false;
|
||||
if (item.Combine(items[i]))
|
||||
{
|
||||
//PutItem(item, i, false, false);
|
||||
combined = true;
|
||||
}
|
||||
//else if (items[i].Combine(item))
|
||||
//if (item.Combine(items[i]))
|
||||
//{
|
||||
// //PutItem(items[i], i, false, false);
|
||||
// //PutItem(item, i, false, false);
|
||||
// combined = true;
|
||||
//}
|
||||
//else
|
||||
if (items[i].Combine(item))
|
||||
{
|
||||
//PutItem(items[i], i, false, false);
|
||||
combined = true;
|
||||
}
|
||||
|
||||
if (!combined) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user