Skip to content

Commit

Permalink
removed duplicate pause check
Browse files Browse the repository at this point in the history
  • Loading branch information
honzi committed Oct 19, 2024
1 parent 65c2027 commit f296e99
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/webgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,6 @@ function webgl_context_restored(event){
function webgl_controls_keyboard(id){
const level = webgl_character_level(id);
if(level < -1
|| (level !== -1 && webgl_properties['paused'])
|| webgl_characters[id]['life'] <= 0
|| webgl_characters[id]['path-id'].length !== 0){
return;
Expand Down

0 comments on commit f296e99

Please sign in to comment.