private void SaveMapData() { if (map == null) { return; } loading.Visible = true; Task.Run(() => { map.SplitEntities(); Invoke(new Action(() => { loading.Visible = false; MessageBox.Show("Lump splitting complete. Remember to rename both the lump and the new bsp to a new version and do not fastdl the lump file!"); })); }); }