fix item duplication bug I caused

This commit is contained in:
2025-04-09 09:39:22 -05:00
parent 14943493dc
commit f6f58a4370

View File

@@ -219,6 +219,9 @@ void give_thing(short pc_num, short item_num) {
// were viable. // were viable.
showFatalError("Unexpectedly failed to give item!"); showFatalError("Unexpectedly failed to give item!");
} }
if(take_given_item){
univ.party[pc_num].take_item(item_num);
}
} }
} }
} }