Skip to content

Commit

Permalink
fix remote UI, comm value and arg
Browse files Browse the repository at this point in the history
  • Loading branch information
aramix273 committed Sep 6, 2024
1 parent 23658ba commit 84b5356
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/modules/research/nanites/nanite_programs/suppression.dm
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@
var/datum/nanite_extra_setting/comm_code = extra_settings[NES_COMM_CODE]
if(!activated || !comm_code)
return
if(signal_comm_code == comm_code)
if(signal_comm_code == comm_code.get_value())
host_mob.investigate_log("'s [name] nanite program was messaged by [comm_source] with comm code [signal_comm_code] and message '[comm_message]'.", INVESTIGATE_NANITES)
trigger(comm_message)
trigger(comm_message=comm_message)

/datum/nanite_program/comm/speech
name = "Forced Speech"
Expand Down
3 changes: 2 additions & 1 deletion code/modules/research/nanites/nanite_remote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@
return data

/obj/item/nanite_remote/comm/ui_act(action, params)
if(..())
. = ..()
if(.)
return
switch(action)
if("set_message")
Expand Down

0 comments on commit 84b5356

Please sign in to comment.