Skip to content

Commit

Permalink
Fix mod and map option lua docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rhys-vdw committed Feb 6, 2025
1 parent 39eab9b commit e1b833b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rts/Lua/LuaSyncedRead.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ static int PushAllOptions(lua_State* L, const auto &options)
*
* @param mapOption string
*
* @return string value of mapOption
* @return string value Value of `modOption`.
* */
int LuaSyncedRead::GetMapOption(lua_State* L)
{
Expand All @@ -1313,7 +1313,7 @@ int LuaSyncedRead::GetMapOption(lua_State* L)
*
* @function Spring.GetMapOptions
*
* @return [string] = string[] options map with options names as keys and values as values
* @return table<string, string> mapOptions Table with options names as keys and values as values.
*/
int LuaSyncedRead::GetMapOptions(lua_State* L)
{
Expand All @@ -1327,7 +1327,7 @@ int LuaSyncedRead::GetMapOptions(lua_State* L)
*
* @param modOption string
*
* @return string value of modOption in option map
* @return string value Value of `modOption`.
*/
int LuaSyncedRead::GetModOption(lua_State* L)
{
Expand All @@ -1339,7 +1339,7 @@ int LuaSyncedRead::GetModOption(lua_State* L)
*
* @function Spring.GetModOptions
*
* @return [string] = string[] options map with options names as keys and values as values
* @return table<string, string> modOptions Table with options names as keys and values as values.
*/
int LuaSyncedRead::GetModOptions(lua_State* L)
{
Expand Down

0 comments on commit e1b833b

Please sign in to comment.