Os_browser should return -1

Reporter: fervi  |  Status: open  |  Last Modified: October 13, 2017, 03:30:00 PM


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.
Please sign in to post comments, or you can view this issue on GitHub.