Commit c83594d 1 parent d7d98ed commit c83594d Copy full SHA for c83594d
File tree 2 files changed +13
-3
lines changed
Source/ED-Shields/Shields
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,7 @@ This mod allows you to place shield generators. They are expensive and power hun
10
10
* Initial Release
11
11
12
12
01.00.01
13
- * Fix for Shields blocking not just from the edge.
13
+ * Fix for Shields blocking not just from the edge.
14
+
15
+ 01.00.02
16
+ * Fix for Fully charged shields not losing Strength when Power is lost.
Original file line number Diff line number Diff line change @@ -348,9 +348,16 @@ public void UpdateShieldStatus()
348
348
break ;
349
349
350
350
case ( enumShieldStatus . ActiveSustaining ) :
351
- if ( this . FieldIntegrity_Current < this . m_FieldIntegrity_Max )
351
+ if ( ! _PowerAvalable )
352
352
{
353
- this . CurrentStatus = enumShieldStatus . ActiveCharging ;
353
+ this . CurrentStatus = enumShieldStatus . ActiveDischarging ;
354
+ }
355
+ else
356
+ {
357
+ if ( this . FieldIntegrity_Current < this . m_FieldIntegrity_Max )
358
+ {
359
+ this . CurrentStatus = enumShieldStatus . ActiveCharging ;
360
+ }
354
361
}
355
362
break ;
356
363
}
You can’t perform that action at this time.
0 commit comments