private void EditCheat() { var newCheat = CheatEditor.GetCheat(); if (!newCheat.IsSeparator) // If a separator comes from the cheat editor something must have been invalid { MainForm.CheatList.Exchange(CheatEditor.OriginalCheat, newCheat); GeneralUpdate(); UpdateMessageLabel(); } }
private void AddCheat() { MainForm.CheatList.Add(CheatEditor.GetCheat()); GeneralUpdate(); UpdateMessageLabel(); }
private void AddCheat() { Global.CheatList.Add(CheatEditor.GetCheat()); UpdateDialog(); UpdateMessageLabel(); }