Closed wily-coyote closed 3 months ago
When the motif has a section without menu.pos or p<n>.teammenu.pos, Lua throws a nil error; this can happen when a language section doesn't have these parameters.
menu.pos
p<n>.teammenu.pos
This PR fixes that by adding nil checks around the f_loadSprData calls.
f_loadSprData
When the motif has a section without
menu.pos
orp<n>.teammenu.pos
, Lua throws a nil error; this can happen when a language section doesn't have these parameters.This PR fixes that by adding nil checks around the
f_loadSprData
calls.