re-mapped emergency to Enter key

This commit is contained in:
Stephan Richter
2020-11-14 14:37:32 +01:00
parent 810dadef8c
commit a9e7512e3d
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ function heartbeat(data){
}
function keypress(ev){
if (ev.key === " ") request({realm:"cu",action:"emergency"})
if (ev.code === 'Enter') request({realm:"cu",action:"emergency"});
}
function moveTile(x,y){