Repository navigation
Moonwell 0.18.1
Moonwell 0.18.1 moves to CSharp.lua 2.0.4-moonwell.25, which fixes two ways the C#-to-Lua step got || and && wrong.
The full suite passes, and Moonwell's cases pass on .NET and in Lua, in development and release builds. No new game check was needed: it is a compiler fix, covered by a Lua case.
Fixed
- An
outvariable across a chain of||: ina.TryGetValue(k, out v) || b.TryGetValue(k, out v) || c.TryGetValue(k, out v), the Lua declared the flag twice, so the third call still ran after the second found a value and overwrote it. A chain of two worked before. - A
||or&&kept in abool: when it came out false, the variable held nil instead of false, so it printed as nothing and== falsedidn't match.
Known
- Big-area heights (0.15.1) are experimental: on one map, classic graphics drew the ground flat while trees and units followed the heights.
- Multiplayer is not checked yet, nor a game in another language.