Closed Haden2 closed 9 years ago
Prevented objects from switching. To go back to this, the code is: if(e.type == EventType.mouseUp && draggingItem) { inventory [prevIndex] = item; inventory[i] = draggedItem; draggingItem = false; draggedItem = null; }
Moving items around in the inventory is not necessary. You can combine items like the poison/head, but should not rearrange.