fixed a typo brain fart moment

develop
Najeeb Al-Shabibi 2023-09-27 23:34:19 +01:00
parent 5f8a68c490
commit 78bea2a550
1 changed files with 1 additions and 1 deletions

@ -937,7 +937,7 @@ static void manageEquipmentEvent(color_ostream& out) {
} }
// now handle events // now handle events
std::for_each(equipment_pickups.begin(), equipment_drops.end(), [&](InventoryChangeData& data) { std::for_each(equipment_pickups.begin(), equipment_pickups.end(), [&](InventoryChangeData& data) {
for (auto &[_, handle] : copy) { for (auto &[_, handle] : copy) {
DEBUG(log,out).print("calling handler for new item equipped inventory change event\n"); DEBUG(log,out).print("calling handler for new item equipped inventory change event\n");
handle.eventHandler(out, (void*) &data); handle.eventHandler(out, (void*) &data);