Skip to content

Commit

Permalink
Fix : Resolve PR Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongopo committed Oct 14, 2024
1 parent 8101aad commit 5e295e0
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 456 deletions.
6 changes: 3 additions & 3 deletions Assets/Scripts/Runtime/CH1/SubB/SLG/Object/SLGBuilding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public class SLGBuildingObject

public void SaveBuildingData()
{
Managers.Data.SLGConstructionBeginTime.SetValue(_constructionBeginTime, (int)_buildingData.GetBuildingType());
Managers.Data.SLGBuildingProgressData.SetValue(_buildingProgress, (int)_buildingData.GetBuildingType());
Managers.Data.CH1.SLGConstructionBeginTime.SetValue(_constructionBeginTime, (int)_buildingData.GetBuildingType());
Managers.Data.CH1.SLGBuildingProgressData.SetValue(_buildingProgress, (int)_buildingData.GetBuildingType());
}

public BuildingState GetBuildingState()
Expand All @@ -71,7 +71,7 @@ public BuildingState GetBuildingState()
case SLGBuildingType.DollarStatue:
return BuildingState.Impossible;
}
if (_buildingData.GetReqAsset().x <= Managers.Data.SLGWoodCount && _buildingData.GetReqAsset().y <= Managers.Data.SLGStoneCount)
if (_buildingData.GetReqAsset().x <= Managers.Data.CH1.SLGWoodCount && _buildingData.GetReqAsset().y <= Managers.Data.CH1.SLGStoneCount)
{
return BuildingState.Able;
}
Expand Down
Loading

0 comments on commit 5e295e0

Please sign in to comment.