Fix mapstart/finish CanCollide check #21

Merged
itzaname merged 1 commits from fix-can-collide into master 2024-05-01 20:53:32 +00:00
Showing only changes of commit cf03198035 - Show all commits

View File

@ -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;
}