1.4.3 #43
@ -226,12 +226,16 @@ namespace OWTrack
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
            finally
 | 
					            finally
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                if (!SRonce)
 | 
					                //if (!SRonce)
 | 
				
			||||||
                {
 | 
					                //{
 | 
				
			||||||
 | 
					                //    tr.startSR = sr;
 | 
				
			||||||
 | 
					                //    SRonce = true;
 | 
				
			||||||
 | 
					                //}
 | 
				
			||||||
 | 
					                //else tr.newSR = sr;
 | 
				
			||||||
 | 
					                if (tr.GetCurrentSession().IsNewSession())
 | 
				
			||||||
                    tr.startSR = sr;
 | 
					                    tr.startSR = sr;
 | 
				
			||||||
                    SRonce = true;
 | 
					                else
 | 
				
			||||||
                }
 | 
					                    tr.newSR = sr;
 | 
				
			||||||
                else tr.newSR = sr;
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            AddMatch();
 | 
					            AddMatch();
 | 
				
			||||||
            update();
 | 
					            update();
 | 
				
			||||||
 | 
				
			|||||||
@ -71,7 +71,6 @@ namespace OWTrack
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
            Session ses = new Session(startSR);
 | 
					            Session ses = new Session(startSR);
 | 
				
			||||||
            sessions.Add(ses);
 | 
					            sessions.Add(ses);
 | 
				
			||||||
            //Re do SR input!! 
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public Session GetCurrentSession()
 | 
					        public Session GetCurrentSession()
 | 
				
			||||||
@ -216,6 +215,7 @@ namespace OWTrack
 | 
				
			|||||||
        public Match() { }
 | 
					        public Match() { }
 | 
				
			||||||
        public DateTime dateTime { get; set; }
 | 
					        public DateTime dateTime { get; set; }
 | 
				
			||||||
        public int StartSR;
 | 
					        public int StartSR;
 | 
				
			||||||
 | 
					        public int LastMatchSR;
 | 
				
			||||||
        public int newSR;
 | 
					        public int newSR;
 | 
				
			||||||
        public int ChangeInSR;
 | 
					        public int ChangeInSR;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user