File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,20 +97,22 @@ There is a great growing community on Discord called [Team Hitless](https://disc
9797If you are seeking for help, guidance or just talk about no hit runs, this is the right place for it.
9898Thanks to everyone for helping other community members!
9999
100+ To learn more about Team Hitless you can also have a look at the [ website] ( https://www.teamhitless.com ) .
101+
100102## Special thanks
101103I would never have created this tool without the inspiration by watching the awesome 0 hit and no death runners...
102104Thanks to (in alphabetical order):
103105* [ CouchJockey] ( https://www.twitch.tv/couchjockey )
104106* [ Dinossindgeil] ( https://www.twitch.tv/dinossindgeil )
105107* [ DonnyRekt] ( https://www.twitch.tv/donnyrekt )
106108* [ FaraazKhan] ( https://www.twitch.tv/faraazkhan )
107- * [ Kazoodle] ( https://www.twitch.tv/kazoodle )
108109* [ Sayvi] ( https://www.twitch.tv/sayvi )
109110* [ SlipperySuzie] ( https://www.twitch.tv/slipperysuzie )
110111* [ Soldi] ( https://www.twitch.tv/soldi )
111112* [ SquillaKilla] ( https://www.twitch.tv/squillakilla )
112113* [ The_Happy_Hob] ( https://www.twitch.tv/the_happy_hob )
113114* [ TigerG92] ( https://www.twitch.tv/tigerg92 )
115+ * [ Zoodle] ( https://www.twitch.tv/zoodle )
114116* Every member of the [ Hitless team on Twitch] ( https://www.twitch.tv/team/hitless )
115117* And also all the other great challenge runners out there that I cannot name here all.
116118
Original file line number Diff line number Diff line change 2323using System ;
2424using System . Collections . Generic ;
2525using System . Collections . ObjectModel ;
26+ using System . Collections . Specialized ;
2627using System . IO ;
2728using System . Reflection ;
2829using static HitCounterManager . IAutoSplitterCoreInterface ;
@@ -231,6 +232,16 @@ public AutoSplitterCoreInterface(Form1 form)
231232 {
232233 form1 = form ;
233234 profCtrl = form1 . profCtrl ;
235+ GameList . CollectionChanged += ( object sender , NotifyCollectionChangedEventArgs e ) =>
236+ {
237+ switch ( e . Action )
238+ {
239+ case NotifyCollectionChangedAction . Add : foreach ( string game in e . NewItems ) form1 . comboBoxGame . Items . Add ( game ) ; break ;
240+ case NotifyCollectionChangedAction . Remove : foreach ( string game in e . NewItems ) form1 . comboBoxGame . Items . Remove ( game ) ; break ;
241+ case NotifyCollectionChangedAction . Reset : form1 . comboBoxGame . Items . Clear ( ) ; break ;
242+ default : break ;
243+ }
244+ } ;
234245 }
235246
236247 public bool GetCurrentInGameTime ( out long totalTimeMs )
Original file line number Diff line number Diff line change @@ -84,12 +84,6 @@ private void Form1_Load(object sender, EventArgs e)
8484 {
8585 profCtrl . InterfaceASC = InterfaceASC = new ( this ) ;
8686 AutoSplitterCoreModule . AutoSplitterRegisterInterface ( InterfaceASC ) ;
87- comboBoxGame . Items . Clear ( ) ;
88- foreach ( string game in InterfaceASC . GameList )
89- {
90- comboBoxGame . Items . Add ( game ) ;
91- }
92-
9387 LoadAutoSplitterHotKeys ( ) ;
9488 }
9589
You can’t perform that action at this time.
0 commit comments