Skip to content

Commit

Permalink
Augment bugs (#423)
Browse files Browse the repository at this point in the history
* fix a bug with augments

* fix application bug

* fabricator order of operations error
  • Loading branch information
Kapu1178 authored Jul 12, 2023
1 parent 95d93a3 commit cfa2e29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions code/modules/client/preferences/augments/_augment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ GLOBAL_LIST_EMPTY(species_augment_tree)
if(!augment_tree[S.type][A.category][A.slot])
augment_tree[S.type][A.category][A.slot] = list()
augment_tree[S.type][A.category][A.slot] += A.type

return augment_tree[S.type]
2 changes: 1 addition & 1 deletion code/modules/client/preferences/augments/augments.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
for(var/slot in value - AUGMENT_SLOT_IMPLANTS)
var/path = value[slot]
var/datum/augment_item/A = GLOB.augment_items[path]
if(!A.can_apply_to_species(S.type))
if(!A.can_apply_to_species(S))
continue
A.apply_to_human(target, S)

Expand Down
2 changes: 1 addition & 1 deletion code/modules/research/machinery/_production.dm
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@
updateUsrDialog()
do_print(queue_packet[1], queue_packet[2])

update_appearance(UPDATE_OVERLAYS)
processing_packet = null
busy = FALSE
update_appearance(UPDATE_OVERLAYS)
updateUsrDialog()

/obj/machinery/rnd/production/proc/do_print(datum/design/D, amount)
Expand Down

0 comments on commit cfa2e29

Please sign in to comment.