From 0bba816641d4fd9084666982945208da2408e9fd Mon Sep 17 00:00:00 2001 From: Ben <66697315+Boxit379@users.noreply.github.com> Date: Fri, 13 Aug 2021 16:11:49 -0600 Subject: [PATCH] Changed 'name' to 'title' in upgrades code --- docs/tutorials/making-a-mod.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/making-a-mod.md b/docs/tutorials/making-a-mod.md index 4d2cd29..d8548ff 100644 --- a/docs/tutorials/making-a-mod.md +++ b/docs/tutorials/making-a-mod.md @@ -45,7 +45,7 @@ Given that, let's make our first upgrade! Insert this line in between the bracke Reload the page, and an upgrade will appear in the layer's tab! It will just be blank though. We need to fill out its features, which works similarly to giving a layer features. Here are the features we'll need: ```js - name: "Make this whatever you want!", + title: "Make this whatever you want!", description: "Double your point gain.", cost: new Decimal(1), ``` @@ -101,4 +101,4 @@ To implement this effect, we modify gainMult, which returns the multiplier to th }, ``` -Refresh the page and see your new upgrade! Next time: a new layer... \ No newline at end of file +Refresh the page and see your new upgrade! Next time: a new layer...