]> git.lizzy.rs Git - dragonfireclient.git/commit
core.formspec_escape: Restore backwards compat
authorLars Müller <34514239+appgurueu@users.noreply.github.com>
Mon, 6 Jun 2022 16:32:28 +0000 (18:32 +0200)
committerGitHub <noreply@github.com>
Mon, 6 Jun 2022 16:32:28 +0000 (18:32 +0200)
commitedc7df54801ab3bf30f96ac5aad6ce11a102f6b9
tree269a904645d70ae3d284535930e6588b6e4f4076
parent951604e29ff9d4b796003264574e06031c014a3f
core.formspec_escape: Restore backwards compat

Support numbers as arguments by using `string.gsub(text, ...)` instead of `text:gsub(...)` which will coerce `text` to a string
builtin/common/misc_helpers.lua