[Change] Turns out pairs is in the lua base library and we need that.
This commit is contained in:
parent
a99c82b47c
commit
07f69e58c6
@ -104,7 +104,7 @@ static int mission_init(Mission* mission, MissionData* misn, int load) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*luaopen_base(mission->L); // Can be useful. */
|
luaopen_base(mission->L); // Can be useful.
|
||||||
luaopen_string(mission->L); /* string.format can be very useful. */
|
luaopen_string(mission->L); /* string.format can be very useful. */
|
||||||
misn_loadLibs(mission->L); /* Load our custom libraries. */
|
misn_loadLibs(mission->L); /* Load our custom libraries. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user