Fix shield set text

This commit is contained in:
Andrew Cooper
2021-04-15 22:02:36 +10:00
parent 3165a9226a
commit 471af5bf40
3 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
Deflector control room report:
'Shields now at {0} units per your command.'

View File

@@ -46,6 +46,8 @@ namespace SuperStarTrek.Resources
internal static string ShieldsDropped => GetResource();
internal static string ShieldsSet => GetResource();
internal static string ShortRangeSensorsOut => GetResource();
internal static string StartText => GetResource();

View File

@@ -1,5 +1,6 @@
using SuperStarTrek.Commands;
using SuperStarTrek.Objects;
using SuperStarTrek.Resources;
using SuperStarTrek.Space;
namespace SuperStarTrek.Systems
@@ -30,6 +31,7 @@ namespace SuperStarTrek.Systems
if (Validate(requested))
{
ShieldEnergy = requested;
_output.Write(Strings.ShieldsSet, requested);
}
else
{