fix(dtmm): Fix generating mod data

It would generate a syntax error when there was more than one entry in
the table.
This commit is contained in:
Lucas Schwiderski 2023-02-25 16:36:59 +01:00
parent 1d26a5c113
commit 5a3c19fb3e
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8

View file

@ -189,7 +189,7 @@ fn build_mod_data_lua(state: Arc<State>) -> String {
lua.push_str("\",\n");
}
lua.push_str(" }\n }\n");
lua.push_str(" },\n },\n");
}
lua.push('}');