Merge branch 'master' of https://github.com/Baystation12/Baystation12 into investigate_fix

This commit is contained in:
Ccomp5950
2013-12-05 04:42:28 -06:00
3 changed files with 18 additions and 15 deletions

View File

@@ -202,6 +202,9 @@
/obj/machinery/power/supermatter/attack_robot(mob/user as mob)
return attack_hand(user)
/obj/machinery/power/supermatter/attack_ai(mob/user as mob)
user << "<span class = \"warning\">You attempt to interface with the control circuits but find they are not connected to your network. Maybe in a future firmware update.</span>"
/obj/machinery/power/supermatter/attack_hand(mob/user as mob)
user.visible_message("<span class=\"warning\">\The [user] reaches out and touches \the [src] inducing a resonance... \his body starts to glow and catch flame before flashing into ash.</span>",\

View File

@@ -800,7 +800,8 @@
if(!can_use(usr, 1))
return
src.add_fingerprint(usr)
usr.set_machine(src)
if(usingUI) // If we set their machine and they're not using the UI, it'll cause the UI to pop up.
usr.set_machine(src)
if (href_list["apcwires"])
var/t1 = text2num(href_list["apcwires"])
if (!( istype(usr.get_active_hand(), /obj/item/weapon/wirecutters) ))