Skip to content

Commit

Permalink
fix: keep int type for tech level
Browse files Browse the repository at this point in the history
  • Loading branch information
wezzle committed Sep 25, 2024
1 parent cad74f3 commit 27885da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/table_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func NewTableModel(mainModel *MainModel) Table {
columns := []ColumnWithType{
{Column: table.Column{Title: "Ref ▼ •", Width: 20}, Type: CTString},
{Column: table.Column{Title: "Name", Width: 30}, Type: CTString},
{Column: table.Column{Title: "Tech level", Width: 15}, Type: CTInt64, PropertyKey: "techlevel"},
{Column: table.Column{Title: "Tech level", Width: 15}, Type: CTInt, PropertyKey: "techlevel"},
{Column: table.Column{Title: "Metal cost", Width: 15}, Type: CTInt64, PropertyKey: "metalcost"},
{Column: table.Column{Title: "Energy cost", Width: 15}, Type: CTInt64, PropertyKey: "energycost"},
{Column: table.Column{Title: "Buildtime", Width: 15}, Type: CTInt64, PropertyKey: "buildtime"},
Expand Down

0 comments on commit 27885da

Please sign in to comment.