Fixes the double-energy draw of the esword, makes the syndicate icon properly display for the borg.

This commit is contained in:
VistaPOWA
2014-01-11 17:04:17 +01:00
parent fe410178fb
commit 671b49cba1
2 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -138,5 +138,6 @@
S.start()
var/mob/living/silicon/robot/R = new /mob/living/silicon/robot/syndicate(T)
R.key = C.key
ticker.mode.traitors += R.mind
ticker.mode.syndicates += R.mind
ticker.mode.update_synd_icons_added(R.mind)
R.mind.special_role = "syndicate"
@@ -136,10 +136,9 @@
if(R.cell)
var/obj/item/weapon/cell/C = R.cell
if(active && !(C.use(hitcost)))
attack_self()
attack_self(R)
R << "<span class='notice'>It's out of charge!</span>"
return
C.use(hitcost)
..()
return