mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Bugfix 2: Electric Boogaloo, Ninjas being tracked by AI's
Removed AI's ability to track them sneaky ninja's.
This commit is contained in:
@@ -78,8 +78,6 @@
|
|||||||
if(H.wear_id && istype(H.wear_id.GetID(), /obj/item/weapon/card/id/syndicate))
|
if(H.wear_id && istype(H.wear_id.GetID(), /obj/item/weapon/card/id/syndicate))
|
||||||
continue
|
continue
|
||||||
if(istype(H.head, /obj/item/clothing/head/helmet/space/space_ninja))
|
if(istype(H.head, /obj/item/clothing/head/helmet/space/space_ninja))
|
||||||
var/obj/item/clothing/head/helmet/space/space_ninja/hood = H.head
|
|
||||||
if(!hood.canremove)
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
// Now, are they viewable by a camera? (This is last because it's the most intensive check)
|
// Now, are they viewable by a camera? (This is last because it's the most intensive check)
|
||||||
@@ -137,7 +135,7 @@
|
|||||||
U << "Follow camera mode terminated."
|
U << "Follow camera mode terminated."
|
||||||
U.cameraFollow = null
|
U.cameraFollow = null
|
||||||
return
|
return
|
||||||
if(istype(H.head, /obj/item/clothing/head/helmet/space/space_ninja) && !H.head.canremove)
|
if(istype(H.head, /obj/item/clothing/head/helmet/space/space_ninja))
|
||||||
U << "Follow camera mode terminated."
|
U << "Follow camera mode terminated."
|
||||||
U.cameraFollow = null
|
U.cameraFollow = null
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user