Skip to content

Commit

Permalink
better?
Browse files Browse the repository at this point in the history
  • Loading branch information
larentoun committed Oct 13, 2024
1 parent 3125a94 commit b57c6f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/machinery/_machinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@
break
if(secondary_part.get_part_rating() > current_rating)
//store name of part incase we qdel it below
var/secondary_part_name = secondary_part.declent_ru(INSTRUMENTAL)
var/secondary_part_name = secondary_part.declent_ru(ACCUSATIVE)
if(replacer_tool.atom_storage.attempt_remove(secondary_part, src))
if (istype(primary_part_base, /datum/stock_part))
var/stock_part_datum = GLOB.stock_part_datums_per_object[secondary_part.type]
Expand All @@ -1072,7 +1072,7 @@
physical_part = primary_part_base

replacer_tool.atom_storage.attempt_insert(physical_part, user, TRUE, force = STORAGE_SOFT_LOCKED)
to_chat(user, span_notice("[capitalize(physical_part.declent_ru(NOMINATIVE))] заменяется [secondary_part_name]."))
to_chat(user, span_notice("[capitalize(physical_part.declent_ru(NOMINATIVE))] заменяется на [secondary_part_name]."))
shouldplaysound = TRUE //Only play the sound when parts are actually replaced!
break

Expand Down

0 comments on commit b57c6f5

Please sign in to comment.