From 0efd2c8044e72513bb7e7d5dcb1f97451b664aa9 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Thu, 9 Feb 2023 03:51:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E7=AB=96=E5=B1=8F=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E6=97=B61P=E7=8E=A9=E5=AE=B6=E5=BC=BA=E8=A1=8C?= =?UTF-8?q?=E6=94=BE=E5=A4=A7=E8=87=B3=E4=B8=A4=E5=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/gameFuncs.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/parts/gameFuncs.lua b/parts/gameFuncs.lua index 11e4197a..103c3cb5 100644 --- a/parts/gameFuncs.lua +++ b/parts/gameFuncs.lua @@ -883,7 +883,15 @@ do-- function freshPlayerPosition(sudden) if alive then for i=1,#L do - L[i][method](L[i],unpack(posList[i==1 and 'main' or i-1])) + if i==1 then + if SETTING.portrait then-- WARNING: Brutly scaling up to 2x only for 1P, will cause many other visual issues. + L[i][method](L[i],36,-260,2) + else + L[i][method](L[i],unpack(posList['main'])) + end + else + L[i][method](L[i],unpack(posList[i-1])) + end end else for i=1,#L do