rename DefaultEngine to be more readable
This commit is contained in:
@@ -12,7 +12,7 @@ namespace EscapeRoomEngine.Engine.Runtime
|
||||
|
||||
internal Passage(DoorModule from)
|
||||
{
|
||||
if (!from.IsExit && !from.description.Equals(Engine.DefaultEngine.theme.spawnDoor))
|
||||
if (!from.IsExit && !from.description.Equals(Engine.Theme.spawnDoor))
|
||||
{
|
||||
throw new WrongTypeException(DoorType.Exit, DoorType.Entrance);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user