Fixed bug regarding having multiple sellable equips in your inventory and being able to sell multiple extra copies of them. Also fixed inventory not updating upon selling an item.
This commit is contained in:
@@ -182,6 +182,7 @@ void Menu::MenuSelect(Crawler*game){
|
||||
}
|
||||
|
||||
void Menu::Update(Crawler*game){
|
||||
if(buttons.count(selection.y)==0)selection={-1,-1};
|
||||
if(selection.x<0||selection.x>=buttons[selection.y].size()){selection={-1,-1};}
|
||||
|
||||
if(draggingComponent==nullptr){
|
||||
|
||||
Reference in New Issue
Block a user