Fix: [Script] Don't kill GS misusing GSText (#12009)

This commit is contained in:
Loïc Guilloux
2024-02-06 19:58:30 +01:00
committed by GitHub
parent 34b05465d5
commit 0858377e9e
2 changed files with 28 additions and 11 deletions

View File

@@ -136,8 +136,11 @@ private:
StringID owner;
int idx;
Param *param;
bool used;
ParamCheck(StringID owner, int idx, Param *param) : owner(owner), idx(idx), param(param) {}
ParamCheck(StringID owner, int idx, Param *param) : owner(owner), idx(idx), param(param), used(false) {}
void Encode(std::back_insert_iterator<std::string> &output);
};
using ParamList = std::vector<ParamCheck>;