From b31b92105767ca68ac21d2c268900944fc86f822 Mon Sep 17 00:00:00 2001 From: Drsmail Date: Fri, 22 Nov 2024 17:17:34 +0300 Subject: [PATCH] Spy spyder can be removed only once --- modular_ss220/spy_spider/code/spy_spider.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modular_ss220/spy_spider/code/spy_spider.dm b/modular_ss220/spy_spider/code/spy_spider.dm index 1a674f606f08..a9b6557bbc87 100644 --- a/modular_ss220/spy_spider/code/spy_spider.dm +++ b/modular_ss220/spy_spider/code/spy_spider.dm @@ -84,6 +84,9 @@ /obj/item/clothing/Topic(href, href_list) if(!usr.stat && !HAS_TRAIT(usr, TRAIT_HANDS_BLOCKED) && !usr.restrained()) + if(isnull(src.spy_spider_attached)) + to_chat(usr, span_info("Ты уже снял жучок с [src].")) + return if(!in_range(src, usr)) to_chat(usr, span_info("Тебе нужно подойти ближе, чтобы снять жучок с [src].")) return