Commit 9041b4d8 authored by fallenstardust's avatar fallenstardust

fix

parent 30d746bf
......@@ -158,13 +158,13 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
break;
}
case BUTTON_SURRENDER_YES: {
soundManager.PlaySoundEffect(SOUND_BUTTON);
mainGame->soundEffectPlayer->doPressButton();
DuelClient::SendPacketToServer(CTOS_SURRENDER);
mainGame->HideElement(mainGame->wSurrender);
break;
}
case BUTTON_SURRENDER_NO: {
soundManager.PlaySoundEffect(SOUND_BUTTON);
mainGame->soundEffectPlayer->doPressButton();
mainGame->HideElement(mainGame->wSurrender);
break;
}
......@@ -193,6 +193,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
break;
}
case BUTTON_CANCEL_OR_FINISH: {
mainGame->soundEffectPlayer->doPressButton();
CancelOrFinish();
break;
}
......
......@@ -3,6 +3,7 @@
#include "../ocgcore/common.h"
#include <algorithm>
#include "lzma/LzmaLib.h"
#include "myfilesystem.h"
namespace ygo {
......
......@@ -387,6 +387,7 @@
!system 1356 是否要放弃对卡组的修改?
!system 1357 不提示保留对卡组的修改
!system 1358 键入关键字后自动进行搜索
!system 1359 是否确定投降?
!system 1360 上一步
!system 1361 删除录像
!system 1362 重命名
......
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