Fix NaN as step when reporting a problem
This commit is contained in:
@@ -36,7 +36,7 @@ module.exports = class CraftingTableController extends BaseController
|
||||
onReportProblem: ->
|
||||
parser = new InventoryParser @_modPack
|
||||
itemList = parser.unparse @model.plan.want
|
||||
message = "When I was on step #{@model.step + 1} of making:\n\n#{itemList}\nI noticed that...\n"
|
||||
message = "When I was on step #{@model.stepIndex + 1} of making:\n\n#{itemList}\nI noticed that...\n"
|
||||
global.feedbackController.enterFeedback message
|
||||
|
||||
# BaseController Overrides #####################################################################
|
||||
|
||||
Reference in New Issue
Block a user