You need to sign in or sign up before continuing.
Commit 51254791 authored by mercury233's avatar mercury233 Committed by nanahira

fix

the ready status don't refresh when the player become host
parent 7d074127
...@@ -525,6 +525,9 @@ public class Room : WindowServantSP ...@@ -525,6 +525,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