Fixed using argument0/1 instead of [0]/[1] (thanks playerdash)
This commit is contained in:
parent
ca8da172db
commit
d4e47f805c
1 changed files with 22 additions and 22 deletions
|
|
@ -2,13 +2,13 @@
|
||||||
if (instance_exists(objDebugInspectorControl)) {
|
if (instance_exists(objDebugInspectorControl)) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
if (variable_global_exists(argument0)) {
|
if (variable_global_exists(argument[0])) {
|
||||||
global.__synthasmagoria_debug_inspector_global_game_start_name = argument0;
|
global.__synthasmagoria_debug_inspector_global_game_start_name = argument[0];
|
||||||
} else {
|
} else {
|
||||||
show_error("Global variable '" + argument0 + "' didn't exist", false);
|
show_error("Global variable '" + argument[0] + "' didn't exist", false);
|
||||||
global.__synthasmagoria_debug_inspector_global_game_start_name = "@";
|
global.__synthasmagoria_debug_inspector_global_game_start_name = "@";
|
||||||
}
|
}
|
||||||
global.__synthasmagoria_debug_inspector_show_instance_vars = argument1;
|
global.__synthasmagoria_debug_inspector_show_instance_vars = argument[1];
|
||||||
var _debug_key = -1;
|
var _debug_key = -1;
|
||||||
if (argument_count > 2) {
|
if (argument_count > 2) {
|
||||||
_debug_key = argument[2];
|
_debug_key = argument[2];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue