Cleans up borg module code and responsibilities.

This commit is contained in:
PsiOmega
2015-04-25 11:59:15 +02:00
parent 27abc7404d
commit e54fbcb9ec
8 changed files with 284 additions and 385 deletions
+1 -1
View File
@@ -507,7 +507,7 @@
..()
if(istype(M,/mob/living/silicon/robot))
var/mob/living/silicon/robot/R = M
if(istype(R.module, /obj/item/weapon/robot_module/miner))
if(R.module)
if(istype(R.module_state_1,/obj/item/weapon/storage/bag/ore))
attackby(R.module_state_1,R)
else if(istype(R.module_state_2,/obj/item/weapon/storage/bag/ore))