only trigger wrong input if puzzle is not solved yet
This commit is contained in:
@@ -83,7 +83,10 @@ namespace Escape_Room_Engine.Engine.Scripts.Modules
|
|||||||
[Button("Trigger Wrong Input", EButtonEnableMode.Playmode)]
|
[Button("Trigger Wrong Input", EButtonEnableMode.Playmode)]
|
||||||
public void WrongInput()
|
public void WrongInput()
|
||||||
{
|
{
|
||||||
OnPuzzleEvent(PuzzleEventType.WrongInput);
|
if (!Solved)
|
||||||
|
{
|
||||||
|
OnPuzzleEvent(PuzzleEventType.WrongInput);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user