Fix get_star_name retrieving garbage data

This commit is contained in:
PeachyPeach 2023-11-25 22:47:57 +01:00 committed by MysterD
parent 59ef3bdfee
commit 8ad80f9128
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ AT_STARTUP static void smlua_text_utils_init() {
snprintf(courseActNames->name, 50, "%s", courseBuffer);
snprintf(courseActNames->orig, 50, "%s", courseBuffer);
courseActNames->modIndex = -1;
courseActNames->actName = NULL;
// Individual acts
if (COURSE_IS_MAIN_COURSE(courseNum)) {