- Crewcommander close button & info text notifying about the hotkey
- Doors can only be selected when they are broken - Fixed crashing when placing a door while no sub is loaded - Generating waypoints for an empty sub won't crash the game - Drawing characterHUD in editor
This commit is contained in:
@@ -287,6 +287,12 @@ namespace Barotrauma
|
||||
|
||||
public static void GenerateSubWaypoints()
|
||||
{
|
||||
if (!Hull.hullList.Any())
|
||||
{
|
||||
DebugConsole.ThrowError("Couldn't generate waypoints: no hulls found.");
|
||||
return;
|
||||
}
|
||||
|
||||
List<WayPoint> existingWaypoints = WayPointList.FindAll(wp => wp.spawnType == SpawnType.Path);
|
||||
foreach (WayPoint wayPoint in existingWaypoints)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user