don't lock prison markers because it crashes
thanks Greatness7 for the fix
This commit is contained in:
parent
01dd0c26eb
commit
b8c86a8580
|
@ -278,6 +278,9 @@ end
|
||||||
|
|
||||||
-- doors that lead to ignored, exterior, canton, unoccupied, or public cells, and doors that aren't in cities
|
-- doors that lead to ignored, exterior, canton, unoccupied, or public cells, and doors that aren't in cities
|
||||||
this.isIgnoredDoor = function(door, homeCellId)
|
this.isIgnoredDoor = function(door, homeCellId)
|
||||||
|
-- don't lock prison markers
|
||||||
|
if door.id == "PrisonMarker" then return true end
|
||||||
|
|
||||||
-- don't lock non-cell change doors
|
-- don't lock non-cell change doors
|
||||||
if not door.destination then
|
if not door.destination then
|
||||||
log(common.logLevels.large, "[CHECKS] Non-Cell-change door %s, ignoring", door.id)
|
log(common.logLevels.large, "[CHECKS] Non-Cell-change door %s, ignoring", door.id)
|
||||||
|
|
Loading…
Reference in a new issue