Os_browser should return -1

Reporter: fervi  |  Status: open  |  Last Modified: December 24, 2017, 01:37:19 AM


My game recognizes whether someone started the game on the browser or not. Of course, Enigma does not support browsers. However, in the context of compatibility with evil incarnate - should return the same.

// Enigma return nothing (?? or zero maybe, but it doesn't show results), GMS "-1"
draw_text(10, 10, string(os_browser));

// It's good - Enigma and GM return "Not a bowser"
if os_browser == browser_not_a_browser
draw_text(10, 25, "Not a bowser! :)");
It's just not implemented with the other constants, at all.

Notice: Undefined variable: context in /var/www/html/enigma-dev.org/issues/view_ticket.php on line 114
Please sign in to post comments, or you can view this issue on GitHub.