Reduced Warning Count By 130 For Full Rebuilds (#26518)
* remove deprecated entity coordinate extension functions. Reduces warning count by approximately 50 * final toCoords Removed * Remove all unused variables and dead code paths * remove always true variable, should be a cvar or something instead * remove superfluous variables from tests
This commit is contained in:
@@ -114,8 +114,7 @@ public abstract class SharedFlatpackSystem : EntitySystem
|
||||
if (!Resolve(ent, ref ent.Comp))
|
||||
return;
|
||||
|
||||
EntProtoId machinePrototypeId;
|
||||
string? entityPrototype;
|
||||
var machinePrototypeId = new EntProtoId();
|
||||
if (TryComp<MachineBoardComponent>(board, out var machineBoard) && machineBoard.Prototype is not null)
|
||||
machinePrototypeId = machineBoard.Prototype;
|
||||
else if (TryComp<ComputerBoardComponent>(board, out var computerBoard) && computerBoard.Prototype is not null)
|
||||
|
||||
Reference in New Issue
Block a user