Commit f079e86e authored by nanahira's avatar nanahira

Merge branch 'server' into server-develop

parents 6fd74e51 073f80b7
...@@ -57,8 +57,8 @@ int SingleMode::SinglePlayThread() { ...@@ -57,8 +57,8 @@ int SingleMode::SinglePlayThread() {
set_registry_value(pduel, "start_lp", std::to_string(start_lp).c_str()); set_registry_value(pduel, "start_lp", std::to_string(start_lp).c_str());
set_registry_value(pduel, "start_hand", std::to_string(start_hand).c_str()); set_registry_value(pduel, "start_hand", std::to_string(start_hand).c_str());
set_registry_value(pduel, "draw_count", std::to_string(draw_count).c_str()); set_registry_value(pduel, "draw_count", std::to_string(draw_count).c_str());
set_registry_value(pduel, "player_type_0", swapped ? "1" : "0"); set_registry_value(pduel, "player_type_0", "0");
set_registry_value(pduel, "player_type_1", swapped ? "0" : "1"); set_registry_value(pduel, "player_type_1", "1");
set_player_info(pduel, 0, start_lp, start_hand, draw_count); set_player_info(pduel, 0, start_lp, start_hand, draw_count);
set_player_info(pduel, 1, start_lp, start_hand, draw_count); set_player_info(pduel, 1, start_lp, start_hand, draw_count);
preload_script(pduel, "./script/special.lua"); preload_script(pduel, "./script/special.lua");
......
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