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