mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-20 22:54:46 +00:00
* Corrects record_feedback()'s copy/paste comment (#74962)
## About The Pull Request
Corrects `record_feedback()`'s copy/paste comment.
## Pointless history
Originally being added in e2a8a5e, it kept its name and args for quite a
few years, that was until #32188 which had it renamed to
`record_feedback` and its args pretty much doubled. In between these
times the known copy/paste comment was already around, but that wasn't
updated, until now apparently.
* Corrects record_feedback()'s copy/paste comment
---------
Co-authored-by: Zandario <zandarioh@gmail.com>
14 lines
526 B
Plaintext
14 lines
526 B
Plaintext
/proc/machine_upgrade(obj/machinery/M in world)
|
|
set name = "Tweak Component Ratings"
|
|
set category = "Debug"
|
|
if (!istype(M))
|
|
return
|
|
|
|
var/new_rating = input("Enter new rating:","Num") as num|null
|
|
if(new_rating && M.component_parts)
|
|
for(var/obj/item/stock_parts/P in M.component_parts)
|
|
P.rating = new_rating
|
|
M.RefreshParts()
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Machine Upgrade", "[new_rating]")) // If you are copy-pasting this, ensure the 4th parameter is unique to the new proc!
|