Fix get_star_name retrieving garbage data

This commit is contained in:
PeachyPeach 2023-11-25 22:47:57 +01:00 committed by Agent X
parent b61574d2c6
commit 8f4101cb7b
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)) {