fix: Codegens lockable containers and cleans up lockpickable (#976)

This commit is contained in:
Kamron Batman 2022-03-26 21:48:18 -07:00 committed by GitHub
parent fc0594f87c
commit 8f922c94ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 762 additions and 833 deletions

View file

@ -48,7 +48,7 @@ public partial class MarkContainer : LockableContainer
if (locked)
{
LockLevel = -255;
LockLevel = ILockpickable.MagicLock;
}
}
@ -225,7 +225,7 @@ public partial class MarkContainer : LockableContainer
protected override void OnTick()
{
Container.Locked = true;
Container.LockLevel = -255;
Container.LockLevel = ILockpickable.MagicLock;
}
}
}