diff --git a/code/game/objects/items/devices/PDA/PDA.dm b/code/game/objects/items/devices/PDA/PDA.dm index 0b110f70c47..b875ed80765 100755 --- a/code/game/objects/items/devices/PDA/PDA.dm +++ b/code/game/objects/items/devices/PDA/PDA.dm @@ -485,6 +485,7 @@ var/global/list/obj/item/device/pda/PDAs = list() // When the UI is first opened this is the data it will use ui.set_initial_data(data) ui.open() + ui.set_auto_update(1) else // The UI is already open so push the new data to it ui.push_data(data) @@ -882,6 +883,9 @@ var/global/list/obj/item/device/pda/PDAs = list() if(L) L << "\icon[P] Message from [src.owner] ([ownjob]), \"[t]\" (Reply)" + nanomanager.update_user_uis(L, P) // Update the recieving user's PDA UI so that they can see the new message + + nanomanager.update_user_uis(U, P) // Update the sending user's PDA UI so that they can see the new message log_pda("[usr] (PDA: [src.name]) sent \"[t]\" to [P.name]") P.overlays.Cut() diff --git a/nano/templates/pda.tmpl b/nano/templates/pda.tmpl index eb0432cf417..a4043578993 100644 --- a/nano/templates/pda.tmpl +++ b/nano/templates/pda.tmpl @@ -9,7 +9,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm Functions:
- {^{:~link('Refresh', 'refresh', {'choice' : "Refresh"}, null, 'fixedLeft')}} + {^{:~link('Close', 'gear', {'choice' : "Close"}, null, 'fixedLeft')}} {^{if idInserted}} {^{:~link('Update PDA Info', 'eject', {'choice' : "UpdateInfo"}, null, 'fixedLeftWide')}} {{/if}} {^{if mode != 0}} {^{:~link('Return', 'arrowreturn-1-w', {'choice' : "Return"}, null, 'fixedLeft')}} {{/if}}