Skip to content

Commit

Permalink
Fixes some record_feedback calls (tgstation#33317)
Browse files Browse the repository at this point in the history
* Fixes protolathe feedback

* Fix circuit imprinter record_feedback

* Fixes destructive analyzer record_feedback
  • Loading branch information
Cyberboss authored and AnturK committed Dec 7, 2017
1 parent cf67005 commit 713f2fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/modules/research/circuitprinter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis).
message_admins("[ADMIN_LOOKUPFLW(usr)] has built [path] at a circuit imprinter.")
var/obj/item/I = new path(get_turf(src))
I.materials = matlist.Copy()
SSblackbox.record_feedback("nested_tally", "circuit_printed", 1, list("[type]", "[path]"))
SSblackbox.record_feedback("nested tally", "circuit_printed", 1, list("[type]", "[path]"))
2 changes: 1 addition & 1 deletion code/modules/research/destructive_analyzer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Note: Must be placed within 3 tiles of the R&D Console
return FALSE
if(QDELETED(loaded_item) || QDELETED(linked_console) || !user.Adjacent(linked_console) || QDELETED(src))
return FALSE
SSblackbox.record_feedback("nested_tally", "item_deconstructed", 1, list("[TN.id]", "[loaded_item.type]"))
SSblackbox.record_feedback("nested tally", "item_deconstructed", 1, list("[TN.id]", "[loaded_item.type]"))
if(destroy_item(loaded_item))
linked_console.stored_research.boost_with_path(SSresearch.techweb_nodes[TN.id], dpath)

Expand Down
2 changes: 1 addition & 1 deletion code/modules/research/protolathe.dm
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ Note: Must be placed west/left of and R&D console to function.
var/obj/item/I = new path(get_turf(src))
if(!istype(I, /obj/item/stack/sheet) && !istype(I, /obj/item/ore/bluespace_crystal))
I.materials = matlist.Copy()
SSblackbox.record_feedback("nested_tally", "item_printed", amount, list("[type]", "[path]"))
SSblackbox.record_feedback("nested tally", "item_printed", amount, list("[type]", "[path]"))

0 comments on commit 713f2fc

Please sign in to comment.