Merge pull request 'Fix mapstart/finish CanCollide check' (#21) from fix-can-collide into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #21
This commit is contained in:
commit
50e9abe5d2
@ -213,7 +213,7 @@ async function validateMapAsset(assetId, game) {
|
||||
const mapParts = Array.from(mapStarts);
|
||||
mapParts.push(...mapFinishes);
|
||||
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.");
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user