Redone some code due to changes to DunGenPlus
Added audio to radios Made dungeon bigger but branch paths shorter Increased lighting chance
This commit is contained in:
parent
d382a3137d
commit
a46f833b27
9 changed files with 54 additions and 28 deletions
|
@ -46,12 +46,6 @@ namespace ScarletMansionMimicsPatch {
|
|||
public override bool IsMyInteriorLoaded => ScarletMansion.DunGenPatch.Patch.active;
|
||||
|
||||
public override void OnMimicCreated(MimicDoor mimicDoor, Doorway doorway) {
|
||||
var c = doorway.transform.parent.GetComponentInChildren<DunGenPlus.Components.DoorwayCleanup>();
|
||||
if (c != null) {
|
||||
c.overrideConnector = true;
|
||||
c.overrideNoDoorway = true;
|
||||
}
|
||||
|
||||
var fixfireexit = doorway.GetComponentInChildren<FixFireExit>(true);
|
||||
fixfireexit.ForcefullyEnableDoorway();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue