Simplify root path

dhcp-server
Pat Hartl 2023-09-11 19:37:56 -05:00
parent 8910746e1e
commit f49bec90f7
1 changed files with 1 additions and 3 deletions

View File

@ -148,7 +148,7 @@
IEnumerable<Game> Games = new List<Game>();
string RootPath;
string RootPath = Path.GetPathRoot(Directory.GetCurrentDirectory());
Server Server;
Guid GameId;
@ -160,8 +160,6 @@
else
Server = await ServerService.Get(Id);
RootPath = Path.GetPathRoot(Directory.GetCurrentDirectory());
if (Server.GameId.HasValue)
GameId = Server.GameId.Value;