Merge pull request #6210 from comma/nochatter

Sending PDA messages and talking in radio things now triggers autoaim.
This commit is contained in:
Ccomp5950
2014-08-29 22:44:04 -05:00
2 changed files with 3 additions and 0 deletions

View File

@@ -877,6 +877,8 @@ var/global/list/obj/item/device/pda/PDAs = list()
/obj/item/device/pda/proc/create_message(var/mob/living/U = usr, var/obj/item/device/pda/P)
U.visible_message("<span class='notice'>[U] taps on \his PDA's screen.</span>")
U.last_target_click = world.time
var/t = input(U, "Please enter message", name, null) as text
t = copytext(sanitize(t), 1, MAX_MESSAGE_LEN)
if (!t || !istype(P))

View File

@@ -229,6 +229,7 @@ var/GLOBAL_RADIO_TYPE = 1 // radio type to use
if(!(src.wires & WIRE_TRANSMIT)) // The device has to have all its wires and shit intact
return
M.last_target_click = world.time
if(GLOBAL_RADIO_TYPE == 1) // NEW RADIO SYSTEMS: By Doohl