Commit daeffdb4 authored by mercury233's avatar mercury233

fix

parent fd12731b
Pipeline #30614 passed with stages
in 2 minutes and 46 seconds
......@@ -575,7 +575,7 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
set_player_info(pduel, 0, host_info.start_lp, host_info.start_hand, host_info.draw_count);
set_player_info(pduel, 1, host_info.start_lp, host_info.start_hand, host_info.draw_count);
#ifdef YGOPRO_SERVER_MODE
preload_script(pduel, "./script/special.lua", 0);
preload_script(pduel, "./script/special.lua");
#endif
unsigned int opt = (unsigned int)host_info.duel_rule << 16;
if(host_info.no_shuffle_deck)
......
......@@ -553,7 +553,7 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
set_message_handler(TagDuel::MessageHandler);
pduel = create_duel(duel_seed);
#ifdef YGOPRO_SERVER_MODE
preload_script(pduel, "./script/special.lua", 0);
preload_script(pduel, "./script/special.lua");
#endif
set_player_info(pduel, 0, host_info.start_lp, host_info.start_hand, host_info.draw_count);
set_player_info(pduel, 1, host_info.start_lp, host_info.start_hand, host_info.draw_count);
......
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