mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-04 09:42:30 +02:00
Fix gui string type (#1455)
This commit is contained in:
parent
a2a61dbea6
commit
bd9560fde8
@ -78,7 +78,7 @@ end
|
||||
---@param element LuaGuiElement
|
||||
---@param style string|table
|
||||
function Gui.set_style(element, style)
|
||||
if type(style) == string then
|
||||
if type(style) == 'string' then
|
||||
element.style = style
|
||||
else
|
||||
local element_style = element.style
|
||||
|
Loading…
Reference in New Issue
Block a user