Skip to content

Commit

Permalink
fixes cancelling items from the parts fabricator queue (#7418)
Browse files Browse the repository at this point in the history
🆑
fix: stops a crisis in the part fabricator point economy by preventing
infinite money generation through cancelling items in the queue
/🆑

yea i got no idea how i missed this either, the points removal now
happens AFTER the item is processed in the queue, so we don't need to
refund any points when removing items from the queue

closes #7416
  • Loading branch information
harryob authored Oct 29, 2024
1 parent e5f72d9 commit 5f6d040
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/modules/cm_marines/vehicle_part_fabricator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@
var/datum/build_queue_entry/entry = build_queue[index]

build_queue.Remove(entry)
add_to_point_store(entry.cost)
return TRUE

else
Expand Down

0 comments on commit 5f6d040

Please sign in to comment.