summaryrefslogtreecommitdiff
path: root/src/core.cpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2024-01-05 16:47:12 -0300
committerFrederico Linhares <fred@linhares.blue>2024-01-05 16:47:12 -0300
commitac4045fffd8a4d106ba757009121ef09f48e2200 (patch)
tree4e1c1c07c0ec23a7e130a53fa85295faab3ec18c /src/core.cpp
parent21a0231e2dd5dfe526e8e68a544e6f9b549118fc (diff)
buil Use a newer version for mruby
Diffstat (limited to 'src/core.cpp')
-rw-r--r--src/core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.cpp b/src/core.cpp
index e40370e..d47127b 100644
--- a/src/core.cpp
+++ b/src/core.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2022-2023 Frederico de Oliveira Linhares
+ * Copyright 2022-2024 Frederico de Oliveira Linhares
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -117,7 +117,7 @@ load_game(void *obj)
using namespace std::chrono;
FILE *fp;
- mrb_value main_obj = mrb_obj_iv_inspect(cg_core.mrb, cg_core.mrb->top_self);
+ mrb_value main_obj{mrb_top_self(cg_core.mrb)};
cg_core.game_name = "CandyGear Game";