From 46f550f166e8455dc736f8d1649c22a259b443a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D0=BA?= Date: Thu, 9 Jan 2025 19:46:11 +0300 Subject: [PATCH] + --- code/game/objects/items/rogueweapons/intents.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/rogueweapons/intents.dm b/code/game/objects/items/rogueweapons/intents.dm index 51043cb2f2b..821d3ef652b 100644 --- a/code/game/objects/items/rogueweapons/intents.dm +++ b/code/game/objects/items/rogueweapons/intents.dm @@ -445,13 +445,13 @@ if(ismob(target)) var/mob/M = target var/list/targetl = list(target) - if(M.client.prefs.be_russian) + if(usr?.client?.prefs?.be_russian) user.visible_message(span_green("[user] дружелюбно машет [M]."), span_green("Я дружелюбно приветствую [M]."), ignored_mobs = targetl) else user.visible_message(span_green("[user] gives [M] a friendly wave."), span_green("I give [M] a friendly wave."), ignored_mobs = targetl) if(M.client) if(M.can_see_cone(user)) - if(M.client.prefs.be_russian) + if(usr?.client?.prefs?.be_russian) to_chat(M, span_green("[user] дружелюбно машет рукой.")) else to_chat(M, span_green("[user] gives me a friendly wave."))