mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
Cleaned up some errors, added logging for AI module use.
This commit is contained in:
@@ -781,12 +781,7 @@
|
||||
return 0
|
||||
|
||||
if(check_user_module)
|
||||
world << "Checking user module"
|
||||
if(!user)
|
||||
world << "No user"
|
||||
return 0
|
||||
if(!user.loc || !user.loc.loc)
|
||||
world << "No user loc"
|
||||
if(!user || !user.loc || !user.loc.loc)
|
||||
return 0
|
||||
var/obj/item/rig_module/ai_container/module = user.loc.loc
|
||||
if(!istype(module) || module.damage >= 2)
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
/mob/living/carbon/human/movement_delay()
|
||||
|
||||
// Used by the AI suit control proc.
|
||||
if(stat)
|
||||
return 20
|
||||
|
||||
var/tally = 0
|
||||
|
||||
if(species.slowdown)
|
||||
|
||||
Reference in New Issue
Block a user