mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Fixes admin buildmode from gibbing you (#10199)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
7e80962c40
commit
935d63736f
@@ -659,12 +659,10 @@ CHOMP Remove end */
|
||||
return
|
||||
if(pa.Find("left") && !pa.Find("ctrl"))
|
||||
if(ispath(holder.buildmode.objholder))
|
||||
var/obj/effect/falling_effect/FE = new /obj/effect/falling_effect(get_turf(object), holder.buildmode.objholder)
|
||||
FE.crushing = FALSE
|
||||
new /obj/effect/falling_effect(get_turf(object), holder.buildmode.objholder, FALSE)
|
||||
else if(pa.Find("right"))
|
||||
if(ispath(holder.buildmode.objholder))
|
||||
var/obj/effect/falling_effect/FE = new /obj/effect/falling_effect(get_turf(object), holder.buildmode.objholder)
|
||||
FE.crushing = TRUE
|
||||
new /obj/effect/falling_effect(get_turf(object), holder.buildmode.objholder, TRUE)
|
||||
else if(pa.Find("ctrl"))
|
||||
holder.buildmode.objholder = object.type
|
||||
to_chat(user, span_notice("[object]([object.type]) copied to buildmode."))
|
||||
|
||||
Reference in New Issue
Block a user