先移除maphash校验
This commit is contained in:
parent
1b488ed4b0
commit
e2d7d5b553
@ -64,11 +64,11 @@ namespace TH1_Logic.Steam
|
||||
|
||||
if (!LobbyManager.Instance.Lobby.IsLobbyOwner()) return;
|
||||
if (message.ActionData == null) return;
|
||||
if (message.ActionData.MapHash != Main.MapData.Net.MapHash)
|
||||
{
|
||||
LogSystem.LogError($"OnReceivedActionConfirm MapHash不一致");
|
||||
return;
|
||||
}
|
||||
// if (message.ActionData.MapHash != Main.MapData.Net.MapHash)
|
||||
// {
|
||||
// LogSystem.LogError($"OnReceivedActionConfirm MapHash不一致");
|
||||
// return;
|
||||
// }
|
||||
if (message.ActionData.Version != Main.MapData.Net.GetActionVersion())
|
||||
{
|
||||
LogSystem.LogError($"OnReceivedActionConfirm Version 不一致");
|
||||
@ -95,11 +95,11 @@ namespace TH1_Logic.Steam
|
||||
}
|
||||
if (LobbyManager.Instance.Lobby.IsLobbyOwner()) return;
|
||||
if (message.ActionData == null) return;
|
||||
if (message.ActionData.MapHash != Main.MapData.Net.MapHash)
|
||||
{
|
||||
LogSystem.LogError($"OnReceivedActionConfirm MapHash不一致");
|
||||
return;
|
||||
}
|
||||
// if (message.ActionData.MapHash != Main.MapData.Net.MapHash)
|
||||
// {
|
||||
// LogSystem.LogError($"OnReceivedActionConfirm MapHash不一致");
|
||||
// return;
|
||||
// }
|
||||
if (message.ActionData.Version != Main.MapData.Net.GetActionVersion())
|
||||
{
|
||||
LogSystem.LogError($"OnReceivedActionConfirm Version 不一致");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user