Removing an istype() check.

This commit is contained in:
Zuhayr
2015-08-24 19:03:05 +09:30
parent 3415f88cc2
commit c5972cb421
2 changed files with 2 additions and 2 deletions

View File

@@ -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()

View File

@@ -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