From 41bfb8e995434c546453ce5fc8d0df5e447be543 Mon Sep 17 00:00:00 2001 From: bcoles Date: Thu, 17 Oct 2013 17:54:16 +1030 Subject: [PATCH] Fix bug with Unity Web Player detection Fix issue #910 --- modules/browser/detect_unity/command.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +});