private void smallBlockOverlaysToolStripMenuItem_Click(object sender, EventArgs e) { GFX.RepatchBlocks(smallBlockOverlaysToolStripMenuItem.Checked); Properties.Settings.Default.SmallBlockOverlays = smallBlockOverlaysToolStripMenuItem.Checked; Properties.Settings.Default.Save(); Level.ReRenderAll(); levelEditorControl1.updateTileCache(true); Invalidate(true); }