Fix env functions

This commit is contained in:
Sergey Stepanov 2024-09-16 21:45:06 +03:00
parent f1ece58c7b
commit a67a077024
No known key found for this signature in database
GPG key ID: A56B4929BAA8556B

View file

@ -98,8 +98,8 @@ const onGamepadConnected = (e) => {
// Ref: https://github.com/giongto35/cloud-game/issues/14
// get mapping first (default KeyMap2)
const os = env.getOs();
const browser = env.getBrowser();
const os = env.getOs;
const browser = env.getBrowser;
if (os === platform.android) {
// default of android is KeyMap1