Fix Luau jump table
This commit is contained in:
parent
cea3cca7c7
commit
8e474ab17c
@ -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, "}} ")?;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user