Fix mapstart/finish CanCollide check
This commit is contained in:
parent
cb9300d1ef
commit
cf03198035
@ -213,7 +213,7 @@ async function validateMapAsset(assetId, game) {
|
|||||||
const mapParts = Array.from(mapStarts);
|
const mapParts = Array.from(mapStarts);
|
||||||
mapParts.push(...mapFinishes);
|
mapParts.push(...mapFinishes);
|
||||||
for (const part of mapParts) {
|
for (const part of mapParts) {
|
||||||
if (!part.CanCollide) {
|
if (part.CanCollide) {
|
||||||
errors.push("The `MapStart` and `MapFinish` parts in your map must have the `CanCollide` property disabled.");
|
errors.push("The `MapStart` and `MapFinish` parts in your map must have the `CanCollide` property disabled.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user