Skip to content

1.28.0

Compare
Choose a tag to compare
@FPtje FPtje released this 01 Jan 13:58
· 22 commits to master since this release

Bug fixes

  • Fixed pretty printing causing a syntax error when pretty printing some comments in if-statements. Example that went wrong before:
    timer.Simple(60, function() if IsValid(ply) then a = 1 end end) -- This comment should not eat the end

Changed

  • Print function arguments on single line: #176. This is quite a big change. It appeared to be in quite big demand and is much more in line with how most Lua scripters write function calls:

    BEFORE:

    timer.Create(
        "name",
        30,
        0,
        function()
            -- comment here
            if true then return end
        end
    )

    AFTER:

    timer.Create("name", 30, 0, function()
        -- comment here
        if true then return end
    end)

Refactors

  • Fixed the CI build of the OSX executable. It seems the machine type that was configured went out of use.