]> git.sesse.net Git - pkanalytics/commitdiff
Their throwaways take us to offense.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 1 May 2023 17:43:49 +0000 (19:43 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 1 May 2023 17:43:49 +0000 (19:43 +0200)
events.cpp

index ded1b6f8124281c3a6297c7fc000cfa4563788d3..7c9f93e9413cc1bf28fddf9943f3926d9e520707 100644 (file)
@@ -258,7 +258,7 @@ EventsModel::Status EventsModel::get_status_at(uint64_t t)
                        s.offense = true;
                        last_gained_possession = e.t;
                }
-               if (e.type == "defense") {
+               if (e.type == "defense" || e.type == "their_throwaway") {
                        s.offense = true;
                        num_touches = 0;
                }