Commit 5c0cc3b1 authored by VanillaSalt's avatar VanillaSalt

fix

parent 73c32635
...@@ -2541,6 +2541,8 @@ int32 scriptlib::duel_hint(lua_State * L) { ...@@ -2541,6 +2541,8 @@ int32 scriptlib::duel_hint(lua_State * L) {
if(playerid != 0 && playerid != 1) if(playerid != 0 && playerid != 1)
return 0; return 0;
int32 desc = lua_tointeger(L, 3); int32 desc = lua_tointeger(L, 3);
if(htype == HINT_OPSELECTED)
playerid = 1 - playerid;
duel* pduel = interpreter::get_duel_info(L); duel* pduel = interpreter::get_duel_info(L);
pduel->write_buffer8(MSG_HINT); pduel->write_buffer8(MSG_HINT);
pduel->write_buffer8(htype); pduel->write_buffer8(htype);
......
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