1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-05-04 23:31:09 +00:00

Added "this" to tabFormat

This commit is contained in:
Harley White 2021-06-01 14:56:33 -04:00
parent b5a850bbee
commit 6273181bf8
6 changed files with 14 additions and 11 deletions

View file

@ -304,7 +304,7 @@ addLayer("c", {
["display-text", "Name your points!"],
["text-input", "thingy"],
["display-text",
function() {return 'I have ' + format(player.points) + ' ' + player.c.thingy + ' points!'},
function() {return 'I have ' + format(player.points) + ' ' + player[this.layer].thingy + ' points!'},
{"color": "red", "font-size": "32px", "font-family": "Comic Sans MS"}],
"h-line", "milestones", "blank", "upgrades", "challenges"],
glowColor: "blue",