public void RegisterAt(SpecialTerrain special, IntVec3 cell) { if (!terrains.ContainsKey(cell)) { var newTerr = special.MakeTerrainInstance(map, cell); newTerr.Init(); terrains.Add(cell, newTerr); } }
// Token: 0x0600002B RID: 43 RVA: 0x00002AE8 File Offset: 0x00000CE8 public void RegisterAt(SpecialTerrain special, IntVec3 cell) { bool flag = !this.terrains.ContainsKey(cell); if (flag) { TerrainInstance terrainInstance = special.MakeTerrainInstance(this.map, cell); terrainInstance.Init(); this.terrains.Add(cell, terrainInstance); } }
// Token: 0x0600002B RID: 43 RVA: 0x00002AE8 File Offset: 0x00000CE8 public void RegisterAt(SpecialTerrain special, IntVec3 cell) { if (terrains.ContainsKey(cell)) { return; } var terrainInstance = special.MakeTerrainInstance(map, cell); terrainInstance.Init(); terrains.Add(cell, terrainInstance); }