mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Removing an istype() check.
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
if(user.stat || user.stunned)
|
||||
return
|
||||
var/obj/item/weapon/rig/rig = src.get_rig()
|
||||
if(istype(rig))
|
||||
if(rig)
|
||||
rig.forced_move(direction, user)
|
||||
|
||||
/obj/item/device/mmi/Destroy()
|
||||
|
||||
@@ -691,7 +691,7 @@ var/list/ai_verbs_default = list(
|
||||
|
||||
resting = 0
|
||||
var/obj/item/weapon/rig/rig = src.get_rig()
|
||||
if(istype(rig))
|
||||
if(rig)
|
||||
rig.force_rest(src)
|
||||
|
||||
#undef AI_CHECK_WIRELESS
|
||||
|
||||
Reference in New Issue
Block a user