move get_str and get_strs into universe (shared code)

This commit is contained in:
2025-04-30 11:47:09 -05:00
parent fe57c10173
commit bb4aae1285
6 changed files with 65 additions and 62 deletions

View File

@@ -617,7 +617,7 @@ void story_dialog(std::string title, str_num_t first, str_num_t last, eSpecCtxTy
cur++;
}
std::string text;
get_str(text, which_str_type, cur);
univ.get_str(text, which_str_type, cur);
me["str"].setText(text);
return true;
}, {"left", "right", "done"});