This repository was archived by the owner on Oct 28, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ public async Task<RunnerResult> Run(int player)
125125 finished = true ;
126126 }
127127 }
128- double usedTime = 0 ; // (DateTime.Now - startTime).TotalSeconds;
128+ double usedTime = ( DateTime . Now - startTime ) . TotalSeconds ;
129129
130130 if ( ! finished )
131131 {
@@ -153,7 +153,7 @@ public async Task<RunnerResult> Run(int player)
153153 else { this . P2Log . AppendLog ( stdOut , usedTime ) ; }
154154
155155 if ( this . BoundBoardManager != null )
156- this . BoundBoardManager . TimeUsedInRunner = usedTime ;
156+ this . BoundBoardManager . TimeUsedInRunner = 0 ;
157157 return new RunnerResult
158158 {
159159 StdOut = stdOut ,
Original file line number Diff line number Diff line change 5757<div class =" row" >
5858 <div class =" col-sm-10" >
5959 <div class =" input-group mb-3" >
60- <input type =" text" class =" form-control" placeholder =" Command " @bind =" runner.P1Log.FileName" />
60+ <input type =" text" class =" form-control" placeholder =" Player 1 Log Path " @bind =" runner.P1Log.FileName" />
6161 <div class =" input-group-append" >
6262 <button class =" btn btn-warning" type =" button" @onclick =" @(()=>runner.P1Log.DeleteLogFile())" >
6363 Delete Player 1 Log File
7070<div class =" row" >
7171 <div class =" col-sm-10" >
7272 <div class =" input-group mb-3" >
73- <input type =" text" class =" form-control" placeholder =" Command " @bind =" runner.P2Log.FileName" />
73+ <input type =" text" class =" form-control" placeholder =" Player 2 Log Path " @bind =" runner.P2Log.FileName" />
7474 <div class =" input-group-append" >
7575 <button class =" btn btn-warning" type =" button" @onclick =" @(()=>runner.P2Log.DeleteLogFile())" >
7676 Delete Player 2 Log File
You can’t perform that action at this time.
0 commit comments