Skip to content

Commit

Permalink
Fix incorrect usage of to_chat
Browse files Browse the repository at this point in the history
  • Loading branch information
out-of-phaze authored and comma committed Feb 5, 2025
1 parent c86a66c commit ac410d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/hologram.dm
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/
end_call()
if (caller_id&&sourcepad)
if(caller_id.loc!=sourcepad.loc)
sourcepad.to_chat(caller_id, "Severing connection to distant holopad.")
to_chat(sourcepad.caller_id, "Severing connection to distant holopad.")
end_call()
audible_message("The connection has been terminated by the caller.")
return 1
Expand Down

0 comments on commit ac410d6

Please sign in to comment.