mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixed a bunch of bugs in this one. There were some problems with projectiles not powering the singularity field generators, which is clearly a very, very bad thing!!
I also fixed some/a problems with conveyer belts. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1894 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -69,20 +69,21 @@
|
||||
spawn(1) // slight delay to prevent infinite propagation due to map order
|
||||
for(var/atom/movable/A in affecting)
|
||||
if(!A.anchored)
|
||||
if(ismob(A))
|
||||
var/mob/M = A
|
||||
if(M.buckled == src)
|
||||
var/obj/machinery/conveyor/C = locate() in get_step(src, dir)
|
||||
M.buckled = null
|
||||
step(M,dir)
|
||||
if(C)
|
||||
M.buckled = C
|
||||
if(isturf(A.loc)) // this is to prevent an ugly bug that forces a player to drop what they're holding if they recently pick it up from the conveyer belt
|
||||
if(ismob(A))
|
||||
var/mob/M = A
|
||||
if(M.buckled == src)
|
||||
var/obj/machinery/conveyor/C = locate() in get_step(src, dir)
|
||||
M.buckled = null
|
||||
step(M,dir)
|
||||
if(C)
|
||||
M.buckled = C
|
||||
else
|
||||
new/obj/item/weapon/cable_coil/cut(M.loc)
|
||||
else
|
||||
new/obj/item/weapon/cable_coil/cut(M.loc)
|
||||
step(M,movedir)
|
||||
else
|
||||
step(M,movedir)
|
||||
else
|
||||
step(A,movedir)
|
||||
step(A,movedir)
|
||||
|
||||
// attack with item, place item on conveyor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user