Implemented torch ability
This commit is contained in:
parent
0bf8adc76d
commit
9a8077021a
15 changed files with 881 additions and 49 deletions
|
|
@ -6,7 +6,7 @@ public class NumberLock : Lock
|
|||
|
||||
public override bool CheckIfKeyFits(DicePair dicePair)
|
||||
{
|
||||
if (dicePair.Sum() == number)
|
||||
if (base.CheckIfKeyFits(dicePair) && dicePair.Sum() == number)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue