Temp save

This commit is contained in:
Sindorman
2019-12-17 22:15:16 -08:00
parent 945c02bad0
commit 67ffbcd60e
5 changed files with 15 additions and 14 deletions
+3 -1
View File
@@ -127,7 +127,7 @@ var/list/cleanbot_types // Going to use this to generate a list of types once th
return
if(pulledby) // Don't wiggle if someone pulls you
patrol_path.Cut()
patrol_path?.Cut()
return
var/found_spot
@@ -190,6 +190,8 @@ var/list/cleanbot_types // Going to use this to generate a list of types once th
return
if(patrol_path[1] == loc)
patrol_path -= patrol_path[1]
return
var/moved = step_towards(src, patrol_path[1])
if(moved)
patrol_path -= patrol_path[1]
@@ -544,7 +544,7 @@ emp_act
return
user.put_in_active_hand(G)
G.synch()
LAssailant = user
LAssailant = WEAKREF(user)
user.do_attack_animation(src)
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
+1 -1
View File
@@ -670,7 +670,7 @@
if(!iscarbon(src))
M.LAssailant = null
else
M.LAssailant = usr
M.LAssailant = WEAKREF(usr)
else if(isobj(AM))
var/obj/I = AM