Commit a93bf4b4 authored by mercury233's avatar mercury233 Committed by Unicorn369

fix

the ready status don't refresh when the player become host
parent c50bf027
...@@ -523,6 +523,9 @@ public class Room : WindowServantSP ...@@ -523,6 +523,9 @@ public class Room : WindowServantSP
is_host = ((type >> 4) & 0xf) != 0; is_host = ((type >> 4) & 0xf) != 0;
if (is_host) if (is_host)
{ {
if (selftype < 4 && roomPlayers[selftype] != null) {
roomPlayers[selftype].prep = false;
}
UIHelper.shiftButton(startButton(), true); UIHelper.shiftButton(startButton(), true);
lazyRoom.start.localScale = Vector3.one; lazyRoom.start.localScale = Vector3.one;
lazyRoom.duelist.localPosition = new Vector3(lazyRoom.duelist.localPosition.x, -94.2f, 0); lazyRoom.duelist.localPosition = new Vector3(lazyRoom.duelist.localPosition.x, -94.2f, 0);
......
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