Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal78900 committed Nov 11, 2021
1 parent d9fd7b4 commit c771568
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions MapEditorReborn/Methods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -484,13 +484,9 @@ public static MapEditorObject SpawnSchematic(SchematicObject schematicObject, Sa
if (schematicObject.RoomType != RoomType.Unknown)
room = GetRandomRoom(schematicObject.RoomType);

Log.Info(schematicObject.RoomType != RoomType.Unknown);

Transform parent = new GameObject($"CustomSchematic-{schematicObject.SchematicName}").transform;
parent.position = forcedPosition ?? GetRelativePosition(schematicObject.Position, room);

Log.Info("Amogus2");

Dictionary<GameObject, Tuple<Vector3, Vector3, Vector3>> savedRelatives = new Dictionary<GameObject, Tuple<Vector3, Vector3, Vector3>>();

foreach (SchematicBlockData block in data.Blocks)
Expand Down

0 comments on commit c771568

Please sign in to comment.