diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-07 21:38:41 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-07 21:38:58 -0800 |
| commit | 5f961d32c4fa9ca4f73da24ea3b73bba8c872c85 (patch) | |
| tree | 7bcbeb23ff9f6536675a1270e6fa26c905fb8782 /nomsu_compiler.moon | |
| parent | 3ceca7b635666342bed107bede4eafc1b5a5f482 (diff) | |
Fix for text interpolation of numbers.
Diffstat (limited to 'nomsu_compiler.moon')
| -rw-r--r-- | nomsu_compiler.moon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon index 5cd7863..7ab2494 100644 --- a/nomsu_compiler.moon +++ b/nomsu_compiler.moon @@ -277,7 +277,7 @@ compile = setmetatable({ bit_lua = LuaCode\from bit.source, "List(function(add)", "\n ", bit_lua, "\nend):joined()" - elseif bit.type != "Text" and bit.type != "Number" + elseif bit.type != "Text" bit_lua = LuaCode\from(bit.source, "tostring(",bit_lua,")") add_bit bit_lua |
