mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-23 05:06:50 +01:00
Merge pull request #9144 from MistakeNot4892/horror
Reworks mech repair loop to avoid infinite loops.
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
if(!istype(W))
|
||||
return
|
||||
if(W.is_wrench() && isturf(loc))
|
||||
if(do_after(5))
|
||||
if(do_after(user, 5, src))
|
||||
if(!src) return
|
||||
to_chat(user, "<span class='notice'>You dissasemble the desk bell</span>")
|
||||
new /obj/item/stack/material/steel(get_turf(src), 1)
|
||||
|
||||
Reference in New Issue
Block a user