Updated Platform regex

*Updated Platform regex to exclude platform covers
This commit is contained in:
izawartka 2025-07-26 00:36:46 +02:00
parent 4131401fe6
commit 18e682559d

View File

@ -14,7 +14,7 @@ export default class Platform extends Misc {
}
static isPlatform(prefabName) {
const regex = /^(platform|peron|wgt_peron)/i;
const regex = /^(platform|peron|wgt_peron)(?!_cover)/i;
return regex.test(prefabName);
}