Best efforts

This commit is contained in:
INeedBots 2020-12-14 16:50:52 -06:00
parent 8821026afd
commit 6c20b7fd71

View File

@ -1073,6 +1073,15 @@ load_waypoints()
level.waypoints[i].bots["allies"] = 1;
level.waypoints[i].bots["axis"] = 1;
if (!isDefined(level.waypoints[i].children) || !isDefined(level.waypoints[i].children.size))
level.waypoints[i].children = [];
if (!isDefined(level.waypoints[i].origin))
level.waypoints[i].origin = (0, 0, 0);
if (!isDefined(level.waypoints[i].type))
level.waypoints[i].type = "crouch";
level.waypoints[i].childCount = level.waypoints[i].children.size;
}