Skip to content

Commit

Permalink
Merge pull request #197 from 2024FALL-SWPP/ref/chaehwan/design-pattern
Browse files Browse the repository at this point in the history
Fix bug that multiple anomaly controllers are initiated
  • Loading branch information
Prown0 authored Dec 14, 2024
2 parents 42c01a9 + deab134 commit ef998d9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 302/Assets/Scripts/AnomalyManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ private void GenerateAnomalyList()
anomalyList[randomIndex] = highAnomaly;
}
Debug.Log($"[AnomalyManager] Generated Anomaly List: {string.Join(", ", anomalyList)}");
CheckAndInstantiateAnomaly();
}
// 20% 확률로 0, 나머지 확률로 1~31의 이상현상을 생성
private int GenerateRandomAnomaly()
Expand Down

0 comments on commit ef998d9

Please sign in to comment.