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
@@ -51,7 +51,7 @@ export function BribeGame(props: IMinigameProps): React.ReactElement {
<GameTimer millis={timer} onExpire={props.onFailure} />
<Grid item xs={12}>
<h1>Say something nice about the guard.</h1>
<KeyHandler onKeyDown={press} />
<KeyHandler onKeyDown={press} onFailure={props.onFailure} />
</Grid>
<Grid item xs={6}>
<h2 style={{fontSize: "2em"}}></h2>