Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 00a6a5c

Browse files
committed
Silenced some compiler warnings.
Release tag.
1 parent 1224fe9 commit 00a6a5c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
//2304
1+
//2312
22
//
33
// This code was generated by a tool. Any changes made manually will be lost
44
// the next time this code is regenerated.
55
//
66

77
using System.Reflection;
88

9-
[assembly: AssemblyFileVersion("1.7.0.2304")]
10-
[assembly: AssemblyVersion("1.7.0.2304")]
9+
[assembly: AssemblyFileVersion("1.7.1.2312")]
10+
[assembly: AssemblyVersion("1.7.1.2312")]

EssentialsPlugin/AssemblyFileVersion.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@
2929

3030
using System.Reflection;
3131

32-
[assembly: AssemblyFileVersion("1.7.0.<#= revisionNumber #>")]
33-
[assembly: AssemblyVersion("1.7.0.<#= revisionNumber #>")]
32+
[assembly: AssemblyFileVersion("1.7.1.<#= revisionNumber #>")]
33+
[assembly: AssemblyVersion("1.7.1.<#= revisionNumber #>")]

EssentialsPlugin/EntityManagers/TurretManagement.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private static List<IMyEntity> DisableTurretsWithoutTargets(IMyEntity entity)
7878
List<IMySlimBlock> blocks = new List<IMySlimBlock>();
7979
grid.GetBlocks(blocks);
8080
//bool disable = false;
81-
bool ignore = false;
81+
//bool ignore = false;
8282
foreach (IMySlimBlock block in blocks)
8383
{
8484
if (block.FatBlock == null)
@@ -104,7 +104,7 @@ private static List<IMyEntity> DisableTurretsWithoutTargets(IMyEntity entity)
104104
if (DoesGridHaveTarget(grid, block))
105105
{
106106
// We'll ignore state and only collect for statistics
107-
ignore = true;
107+
//ignore = true;
108108
continue;
109109
}
110110

@@ -187,7 +187,7 @@ private static List<IMyEntity> EnableTurretsWithTargets(IMyEntity entity)
187187
m_scanCache.Clear();
188188
grid.GetBlocks(blocks);
189189
//bool enable = false;
190-
bool ignore = false;
190+
//bool ignore = false;
191191
foreach (IMySlimBlock block in blocks)
192192
{
193193
if (block.FatBlock == null)
@@ -213,7 +213,7 @@ private static List<IMyEntity> EnableTurretsWithTargets(IMyEntity entity)
213213
{
214214
// We'll ignore state check and only collect for statistics
215215
// Console.WriteLine("Ignore");
216-
ignore = true;
216+
//ignore = true;
217217
continue;
218218
}
219219

0 commit comments

Comments
 (0)