Skip to content

Commit

Permalink
Fixed error from Chessnut/NutScript#393
Browse files Browse the repository at this point in the history
  • Loading branch information
Chessnut committed Mar 17, 2015
1 parent 60bc546 commit bb58757
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions plugins/radio/sh_plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ local RADIO_CHATCOLOR = Color(100, 255, 50)

-- This is how initialize Language in Single File.
local langkey = "english"
do
local langTable = {
radioFreq = "Frequency",
radioSubmit = "Submit",
radioNoRadio = "You don't have any radio to adjust.",
radioNoRadioComm = "You don't have any radio to communicate",
radioFormat = "%s radios in \"%s\"",
}
local langTable = {
radioFreq = "Frequency",
radioSubmit = "Submit",
radioNoRadio = "You don't have any radio to adjust.",
radioNoRadioComm = "You don't have any radio to communicate",
radioFormat = "%s radios in \"%s\"",
}

function PLUGIN:PluginLoaded()
table.Merge(nut.lang.stored[langkey], langTable)
end

Expand Down Expand Up @@ -317,4 +317,4 @@ nut.chat.register("radio", {
end
end,
prefix = {"/r", "/radio"},
})
})

0 comments on commit bb58757

Please sign in to comment.