From bb58757dc92e665bb3e4a54601036a033e9ee8ef Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 17 Mar 2015 11:38:35 -0700 Subject: [PATCH] Fixed error from Chessnut/NutScript#393 --- plugins/radio/sh_plugin.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/radio/sh_plugin.lua b/plugins/radio/sh_plugin.lua index 94b9224..da9312e 100644 --- a/plugins/radio/sh_plugin.lua +++ b/plugins/radio/sh_plugin.lua @@ -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 @@ -317,4 +317,4 @@ nut.chat.register("radio", { end end, prefix = {"/r", "/radio"}, -}) \ No newline at end of file +})