Simplify root path
parent
8910746e1e
commit
f49bec90f7
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue