Fixed flickering lights
This commit is contained in:
@@ -54,10 +54,11 @@ namespace Barotrauma.Items.Components
|
|||||||
//by the constructions connected to the grid
|
//by the constructions connected to the grid
|
||||||
fullPower = 0.0f;
|
fullPower = 0.0f;
|
||||||
fullLoad = 0.0f;
|
fullLoad = 0.0f;
|
||||||
updateTimer = 0;
|
|
||||||
connectedList.Clear();
|
connectedList.Clear();
|
||||||
|
|
||||||
CheckJunctions(deltaTime);
|
CheckJunctions(deltaTime);
|
||||||
|
updateTimer = 0;
|
||||||
|
|
||||||
foreach (Powered p in connectedList)
|
foreach (Powered p in connectedList)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user