Instakill player when automating infiltration

This commit is contained in:
David Edmondson
2021-08-21 15:00:00 -07:00
parent a564957092
commit 6cd7465b82
12 changed files with 25 additions and 12 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ export function CheatCodeGame(props: IMinigameProps): React.ReactElement {
<Grid item xs={12}>
<h1 className={"noselect"}>Enter the Code!</h1>
<p style={{fontSize: '5em'}}>{code[index]}</p>
<KeyHandler onKeyDown={press} />
<KeyHandler onKeyDown={press} onFailure={props.onFailure} />
</Grid>
</Grid>)
}