12 lines
452 B
Plaintext
12 lines
452 B
Plaintext
|
--- binding-mruby/binding-mruby.cpp
|
||
|
+++ binding-mruby/binding-mruby.cpp
|
||
|
@@ -117,7 +117,7 @@ static void mrbBindingInit(mrb_state *mrb)
|
||
|
/* Load global constants */
|
||
|
mrb_define_global_const(mrb, "MKXP", mrb_true_value());
|
||
|
|
||
|
- mrb_value debug = rb_bool_new(shState->config().editor.debug);
|
||
|
+ mrb_value debug = mrb_bool_value(shState->config().editor.debug);
|
||
|
if (rgssVer == 1)
|
||
|
mrb_define_global_const(mrb, "DEBUG", debug);
|
||
|
else if (rgssVer >= 2)
|