From 330eb749836cf6a9a5bf7b41fec7a2802c25e4a0 Mon Sep 17 00:00:00 2001 From: Aylong <69762909+AyIong@users.noreply.github.com> Date: Sat, 13 Apr 2024 17:43:26 +0300 Subject: [PATCH] fix: Contractor (#1177) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Что этот PR делает Чинит контрактора, проблема была в регулярке Clueless ## Тестирование Спиздил СМО, отправил СМО, получил ТК. ## Changelog :cl: fix: Контрактник починен. Можете воровать вульпочек за ТК. /:cl: --- .../antagonists/traitor/contractor/datums/objective_contract.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/antagonists/traitor/contractor/datums/objective_contract.dm b/code/modules/antagonists/traitor/contractor/datums/objective_contract.dm index 3544d65bfdf4..3230fddfa8b6 100644 --- a/code/modules/antagonists/traitor/contractor/datums/objective_contract.dm +++ b/code/modules/antagonists/traitor/contractor/datums/objective_contract.dm @@ -160,7 +160,7 @@ /// The owning [/datum/syndicatce_contract]. var/datum/syndicate_contract/owning_contract = null /// Name fixer regex because area names have rogue characters sometimes. - var/static/regex/name_fixer = regex("(\[a-z0-9 \\'\]+)$", "ig") + var/static/regex/name_fixer = regex("(\[a-zа-яё0-9 \\'\]+)$", "ig") // SS220 EDIT - Regex for RU Areas /datum/objective/contract/New(contract) owning_contract = contract