Disabling some stuff for v0.8

This commit is contained in:
Nick J. Connors 2022-02-03 23:39:38 -05:00
parent c20edd58c6
commit 1a48f701c9
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ namespace NewHorizons.Builder.Props
{ {
var prefab = GameObject.Find(propToClone); var prefab = GameObject.Find(propToClone);
//TODO: this is super costly //TODO: this is super costly I think
if (prefab == null) prefab = SearchUtilities.FindObjectOfTypeAndName<GameObject>(propToClone.Split(new char[] { '\\', '/' }).Last()); if (prefab == null) prefab = SearchUtilities.FindObjectOfTypeAndName<GameObject>(propToClone.Split(new char[] { '\\', '/' }).Last());
if (prefab == null) Logger.LogError($"Couldn't find detail {propToClone}"); if (prefab == null) Logger.LogError($"Couldn't find detail {propToClone}");
return MakeDetail(go, sector, prefab, position, rotation, scale, alignWithNormal, generateColliders); return MakeDetail(go, sector, prefab, position, rotation, scale, alignWithNormal, generateColliders);

View File

@ -32,7 +32,7 @@ namespace NewHorizons.Builder.Props
{ {
foreach(var geyserInfo in config.Props.Geysers) foreach(var geyserInfo in config.Props.Geysers)
{ {
GeyserBuilder.Make(go, sector, geyserInfo); //GeyserBuilder.Make(go, sector, geyserInfo);
} }
} }
if(config.Props.Rafts != null) if(config.Props.Rafts != null)
@ -43,7 +43,7 @@ namespace NewHorizons.Builder.Props
{ {
foreach(var tornadoInfo in config.Props.Tornados) foreach(var tornadoInfo in config.Props.Tornados)
{ {
TornadoBuilder.Make(go, sector, tornadoInfo, config.Atmosphere?.Cloud != null); //TornadoBuilder.Make(go, sector, tornadoInfo, config.Atmosphere?.Cloud != null);
} }
} }
if(config.Props.Dialogue != null) if(config.Props.Dialogue != null)