Commit 9d69f8eb authored by nanahira's avatar nanahira

Merge branch 'master' of ../srvpro

parents 0b93716f cbc7251c
Pipeline #27386 passed with stages
in 8 minutes and 46 seconds
......@@ -78,7 +78,8 @@
],
"STOC_HS_PlayerEnter": [
{"name": "name", "type": "unsigned short", "length": 20, "encoding": "UTF-16LE"},
{"name": "pos", "type": "unsigned char"}
{"name": "pos", "type": "unsigned char"},
{"name": "padding", "type": "unsigned char"}
],
"STOC_HS_PlayerChange": [
{"name": "status", "type": "unsigned char"}
......
......@@ -1118,6 +1118,7 @@ CLIENT_send_pre_reconnect_info = global.CLIENT_send_pre_reconnect_info = (client
ygopro.stoc_send(client, 'HS_PLAYER_ENTER', {
name: player.name,
pos: player.pos,
padding: 0,
})
return
......@@ -3214,6 +3215,7 @@ ygopro.stoc_follow 'DUEL_START', false, (buffer, info, client, server, datas)->
ygopro.stoc_send(client, 'HS_PLAYER_ENTER', {
name: player.name,
pos: player.pos
padding: 0,
})
if settings.modules.tips.enabled
ygopro.stoc_send_random_tip(client)
......
......@@ -1486,7 +1486,8 @@
player = ref[j];
ygopro.stoc_send(client, 'HS_PLAYER_ENTER', {
name: player.name,
pos: player.pos
pos: player.pos,
padding: 0
});
}
};
......@@ -4296,7 +4297,8 @@
if (player !== client) {
ygopro.stoc_send(client, 'HS_PLAYER_ENTER', {
name: player.name,
pos: player.pos
pos: player.pos,
padding: 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