fix segfault for real
This commit is contained in:
@@ -8,7 +8,8 @@ struct CastleAsset {
|
||||
std::vector<std::string> mask;
|
||||
};
|
||||
|
||||
inline CastleAsset castleAsset = {
|
||||
inline const CastleAsset& getCastleAsset() {
|
||||
static const CastleAsset castleAsset = {
|
||||
{
|
||||
R"( T~~)",
|
||||
R"( |)",
|
||||
@@ -37,4 +38,6 @@ inline CastleAsset castleAsset = {
|
||||
R"( yy yy)",
|
||||
R"( y y y y)",
|
||||
R"( yyyyyyy)"}
|
||||
};
|
||||
};
|
||||
return castleAsset;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user