修复MOD加载摸头参数错误 fix #375

This commit is contained in:
ZouJin 2024-05-12 13:07:35 +08:00
parent 46bc7b609f
commit 8b55b741d1

View File

@ -292,7 +292,7 @@ namespace VPet_Simulator.Core
if (lps.FindLine("touchhead") != null && lps["touchhead"][(gdbe)"py"] != 0) if (lps.FindLine("touchhead") != null && lps["touchhead"][(gdbe)"py"] != 0)
{ {
TouchHeadLocate = new Point(lps["touchhead"][(gdbe)"px"], lps["touchhead"][(gdbe)"py"]); TouchHeadLocate = new Point(lps["touchhead"][(gdbe)"px"], lps["touchhead"][(gdbe)"py"]);
TouchHeadSize = new Size(lps["touchhead"][(gdbe)"sw"], lps["touchhead"][(gdbe)"wh"]); TouchHeadSize = new Size(lps["touchhead"][(gdbe)"sw"], lps["touchhead"][(gdbe)"sh"]);
} }
if (lps.FindLine("touchbody") != null && lps["touchbody"][(gdbe)"py"] != 0) if (lps.FindLine("touchbody") != null && lps["touchbody"][(gdbe)"py"] != 0)
{ {