Skip to content

Commit

Permalink
Fix luadoc parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberth289346 committed Sep 7, 2023
1 parent ab0da46 commit b263b1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CorsixTH/Lua/level_editor/data_storage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function LevelSection:LevelSection(title_path)
end

--! Set visibility of the widgets to the value of the parameter.
--!param (bool) Whether the widgets and/or text boxes should be visible.
--!param is_visible (bool) Whether the widgets and/or text boxes should be visible.
function LevelSection:setVisible(is_vsisible)
for _, widget in ipairs(self._widgets) do
widget:setVisible(is_vsisible)
Expand Down Expand Up @@ -454,8 +454,8 @@ function LevelPage:loadSaveConfig(cfg, store)
end

--! Set visibility of the widgets to the value of the parameter.
--!param (bool) Whether the widgets and/or text boxes should be visible.
function LevelPage:setVisible(is_vsisible)
--!param is_visible (bool) Whether the widgets and/or text boxes should be visible.
function LevelPage:setVisible(is_visible)
error("Implement me in " .. class.type(self))
end

Expand Down

0 comments on commit b263b1e

Please sign in to comment.