diff --git a/Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt b/Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt
index 4f82e21c..cfe2565d 100644
--- a/Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt
+++ b/Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt
@@ -86,7 +86,7 @@ end
-- Set active language for string table
function M.setlanguage(languagecode)
- M.luautils.activeLanguage = languagecode
+ M.luautils.ActiveLanguage = languagecode
end
-- Get a named string from the string table
diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs
index 8ccbe4b9..2743b2e1 100644
--- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs
+++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs
@@ -41,6 +41,12 @@ namespace Fungus
[Tooltip("The currently selected language in the string table. Affects variable substitution.")]
[SerializeField] protected string activeLanguage = "en";
+ ///
+ /// Gets or sets the active language.
+ ///
+ /// The active language.
+ public string ActiveLanguage { get { return activeLanguage; } set { activeLanguage = value; } }
+
///
/// Lua script file which defines the global string table used for localisation.
///