diff --git a/code/game/gamemodes/objectives/traders_objectives.dm b/code/game/gamemodes/objectives/traders_objectives.dm index d7fef4362112..766eeab8c742 100644 --- a/code/game/gamemodes/objectives/traders_objectives.dm +++ b/code/game/gamemodes/objectives/traders_objectives.dm @@ -58,7 +58,7 @@ /datum/objective/trader_purchase/New() var/indx = rand(1, possible_items.len) - var/offset = rand(1, possible_items.len -1) // -1, чтобы не вступить в тот же элемент + var/offset = rand(1, possible_items.len - 1) var/new_indx = (indx + offset) % possible_items.len items += possible_items[indx] items += possible_items[new_indx == 0 ? possible_items.len : new_indx] diff --git a/code/game/machinery/computer/trader_shuttle.dm b/code/game/machinery/computer/trader_shuttle.dm index e2402bb86321..931c579f9488 100644 --- a/code/game/machinery/computer/trader_shuttle.dm +++ b/code/game/machinery/computer/trader_shuttle.dm @@ -26,7 +26,7 @@ dat += "