Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Remove remote sensor mod name from settings GUI
Browse files Browse the repository at this point in the history
Closes #59.
  • Loading branch information
narc0tiq committed May 20, 2016
1 parent e3c481b commit 085960f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions locale/en/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ sensor.kill_count.spawner_fragment_multiple=__1__ spawners
sensor.kill_count.other_fragment_single=1 other
sensor.kill_count.other_fragment_multiple=__1__ others

sensor.remote.settings_title_format=* __2__

settings_title=EvoGUI settings

Expand Down
2 changes: 1 addition & 1 deletion value_sensors/remote_sensor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function RemoteSensor.new(sensor_data)

sensor["mod_name"] = sensor_data.mod_name
sensor["line"] = sensor_data.text
sensor["display_name"] = {"", "[", sensor_data.mod_name, "] ", sensor_data.caption}
sensor["display_name"] = {"sensor.remote.settings_title_format", sensor_data.mod_name, sensor_data.caption}
sensor["color"] = sensor_data.color

function sensor:set_line(text)
Expand Down

0 comments on commit 085960f

Please sign in to comment.