Updated Platform regex
*Updated Platform regex to exclude platform covers
This commit is contained in:
parent
4131401fe6
commit
18e682559d
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user