public static Hashtable GetVariableSaveData(Hashtable ht) { foreach(DictionaryEntry entry in GameHandler.Instance().variables) { if(DataHolder.LoadSaveHUD().CanSaveGameVariable(entry.Key as string)) { ht.Add(entry.Key, entry.Value); } } return ht; }