Unstable 0.16.6.1

This commit is contained in:
Markus Isberg
2022-02-24 00:42:03 +09:00
parent e54cee163e
commit 102e089aa6
12 changed files with 28 additions and 14 deletions
@@ -173,7 +173,7 @@ namespace Barotrauma.Items.Components
#if CLIENT
if (Light != null)
{
Light.Color = IsActive ? lightColor : Color.Transparent;
Light.Color = IsOn ? lightColor : Color.Transparent;
}
#endif
}
@@ -401,6 +401,7 @@ namespace Barotrauma
public bool IsVanillaSubmarine()
{
if (FilePath == null) { return false; }
var vanilla = GameMain.VanillaContent;
if (vanilla != null)
{