Fix Luau jump table

This commit is contained in:
Rerumu 2021-12-19 22:10:33 -05:00
parent cea3cca7c7
commit 8e474ab17c

View File

@ -356,9 +356,13 @@ impl Driver for BrTable {
write!(w, "do ")?;
write!(w, "local temp = {{")?;
if !self.data.table.is_empty() {
write!(w, "[0] =")?;
for d in self.data.table.iter() {
write!(w, "{}, ", d)?;
}
}
write!(w, "}} ")?;