(cb8c9ec1b) Fixed subs not being rendered when switching from the game screen to the sub editor immediately after the round starts
This commit is contained in:
@@ -2276,6 +2276,11 @@ namespace Barotrauma
|
||||
GameMain.LightManager.UpdateLightMap(graphics, spriteBatch, cam);
|
||||
}
|
||||
|
||||
foreach (Submarine sub in Submarine.Loaded)
|
||||
{
|
||||
sub.UpdateTransform();
|
||||
}
|
||||
|
||||
spriteBatch.Begin(SpriteSortMode.BackToFront,
|
||||
BlendState.AlphaBlend,
|
||||
null, null, null, null,
|
||||
|
||||
Reference in New Issue
Block a user