Hotfix 0.16.7.0

This commit is contained in:
Markus Isberg
2022-02-26 02:16:41 +09:00
parent 102e089aa6
commit a83f375681
15 changed files with 62 additions and 24 deletions
@@ -1299,7 +1299,7 @@ namespace Barotrauma
private bool CreateOrder(Order order, Hull targetHull = null)
{
var sub = Character.Controlled.Submarine;
var sub = Character.Controlled?.Submarine;
if (sub == null || sub.TeamID != Character.Controlled.TeamID || sub.Info.IsWreck) { return false; }