From 8f68f4b0899476c2f1b282d7cfa494098eb4d96600330cbb859ef12861b1c798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=BB=A8=ED=8A=B8=EB=A1=A4DELTA?= Date: Tue, 26 May 2026 09:01:29 +0900 Subject: [PATCH] Fix Progress Bar --- Component/DebugMonitorUI.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Component/DebugMonitorUI.cs b/Component/DebugMonitorUI.cs index 2a158c9..97f50c0 100644 --- a/Component/DebugMonitorUI.cs +++ b/Component/DebugMonitorUI.cs @@ -210,13 +210,13 @@ namespace ADOFAIRenderer.Component // Update Progress Bar var progress = 0f; - int currentFloor = 0; - int totalFloors = 0; + var currentFloor = 0; + var totalFloors = 0; if (scrController.instance && ADOBase.lm && ADOBase.lm.listFloors != null) { currentFloor = scrController.instance.currFloor ? scrController.instance.currFloor.seqID : 0; - totalFloors = ADOBase.lm.listFloors.Count; + totalFloors = ADOBase.lm.listFloors.Count - 1; if (totalFloors > 0) { progress = Mathf.Clamp01((float)currentFloor / totalFloors);