void RecalcTrash() { if (Sync.IsServer == false) { MyMultiplayer.RaiseStaticEvent(x => UploadSettingsToServer, MyTrashRemoval.PreviewSettings); } int num = MyTrashRemoval.Calculate(MyTrashRemoval.PreviewSettings); m_labelNumVisible.TextToDraw.Clear().ConcatFormat(MyTexts.GetString(MyCommonTexts.ScreenDebugAdminMenu_NumberOfLocalTrash), num); }
void RecalcTrash() { int num = MyTrashRemoval.Calculate(MyTrashRemoval.PreviewSettings); m_labelNumVisible.TextToDraw.Clear().ConcatFormat(MyTexts.GetString(MyCommonTexts.ScreenDebugAdminMenu_NumberOfLocalTrash), num); }