Skip to content

Commit

Permalink
Spy spyder can be removed only once
Browse files Browse the repository at this point in the history
  • Loading branch information
Drsmail committed Nov 22, 2024
1 parent 3efdc68 commit b31b921
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modular_ss220/spy_spider/code/spy_spider.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b31b921

Please sign in to comment.