Fixed a bunch of sprites not being removed
This commit is contained in:
@@ -122,6 +122,8 @@ namespace Barotrauma.Lights
|
||||
|
||||
public void Remove()
|
||||
{
|
||||
if (LightSprite != null) LightSprite.Remove();
|
||||
|
||||
GameMain.LightManager.RemoveLight(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user