Exemplo n.º 1
0
        private void RemoveGlobalMod_ButtonClick(object sender, RoutedEventArgs e)
        {
            if (lbGlobalModList.Items.Count > 0)
            {
                Modifier modifier = (Modifier)lbGlobalModList.SelectedItem;

                GameContainer.RemoveGlobalModifier(modifier);
            }
        }