Commit 9caab1f4 authored by nanahira's avatar nanahira

fix return

parent 416a64ff
...@@ -218,6 +218,7 @@ int32 scriptlib::duel_get_random_number(lua_State * L) { ...@@ -218,6 +218,7 @@ int32 scriptlib::duel_get_random_number(lua_State * L) {
max = lua_tointeger(L, 1); max = lua_tointeger(L, 1);
} }
lua_pushinteger(L, pduel->get_next_integer(min, max)); lua_pushinteger(L, pduel->get_next_integer(min, max));
return 1;
} }
int32 scriptlib::duel_enable_global_flag(lua_State *L) { int32 scriptlib::duel_enable_global_flag(lua_State *L) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment