private void RemoveGlobalMod_ButtonClick(object sender, RoutedEventArgs e) { if (lbGlobalModList.Items.Count > 0) { Modifier modifier = (Modifier)lbGlobalModList.SelectedItem; GameContainer.RemoveGlobalModifier(modifier); } }
private void RemoveGlobalMod_ButtonClick(object sender, RoutedEventArgs e) { if (lbGlobalModList.Items.Count > 0) { Modifier modifier = (Modifier)lbGlobalModList.SelectedItem; GameContainer.RemoveGlobalModifier(modifier); } }