Skip to content

Commit ba47c50

Browse files
authored
Merge pull request #25 from alrun3/wood-cost
fix: update incorrect templates for GetUnitWoodCost
2 parents eb89883 + 91f9a73 commit ba47c50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WCSharp.Api/unit.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal unit()
2525
public static extern int FoodMadeBy(int unitType);
2626
/// @CSharpLua.Template = "GetUnitGoldCost({0})"
2727
public static extern int GoldCostOf(int unitType);
28-
/// @CSharpLua.Template = "GetUnitGoldCost({0})"
28+
/// @CSharpLua.Template = "GetUnitWoodCost({0})"
2929
public static extern int WoodCostOf(int unitType);
3030
/// @CSharpLua.Template = "GetUnitBuildTime({0})"
3131
public static extern int BuildTimeOf(int unitType);
@@ -38,7 +38,7 @@ internal unit()
3838

3939
/// @CSharpLua.Get = "GetUnitGoldCost(GetUnitTypeId({this}))"
4040
public extern int GoldCost { get; }
41-
/// @CSharpLua.Get = "GetUnitGoldCost(GetUnitTypeId({this}))"
41+
/// @CSharpLua.Get = "GetUnitWoodCost(GetUnitTypeId({this}))"
4242
public extern int WoodCost { get; }
4343
/// @CSharpLua.Get = "GetUnitBuildTime(GetUnitTypeId({this}))"
4444
public extern int BuildTime { get; }

0 commit comments

Comments
 (0)