Commit 54cedc9b authored by nanahira's avatar nanahira

load beta scripts

parent c8902079
......@@ -839,6 +839,8 @@ int32 interpreter::load_card_script(uint32 code) {
lua_rawset(current_state, -3);
//load special and extra scripts first
sprintf(script_name, "./specials/c%d.lua", code);
if (!load_script(script_name)) {
sprintf(script_name, "./beta/script/c%d.lua", code);
if (!load_script(script_name)) {
sprintf(script_name, "./expansions/script/c%d.lua", code);
if (!load_script(script_name)) {
......@@ -849,6 +851,7 @@ int32 interpreter::load_card_script(uint32 code) {
}
}
}
}
return OPERATION_SUCCESS;
}
void interpreter::add_param(void *param, int32 type, bool front) {
......
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