diff --git a/modules/browser/detect_unity/command.js b/modules/browser/detect_unity/command.js index f1bd4316a..0fa9fc96f 100644 --- a/modules/browser/detect_unity/command.js +++ b/modules/browser/detect_unity/command.js @@ -38,7 +38,7 @@ beef.execute(function() { - if ( hasUnity ) { + if ( hasUnity() ) { beef.net.send("<%= @command_url %>", <%= @command_id %>, "unity = Unity Web Player is enabled"); @@ -57,4 +57,4 @@ beef.execute(function() { } -}); \ No newline at end of file +});