quick bug fix before I forget: actually decrease the amount of keys when opening a door.