Skip to content
Snippets Groups Projects
Commit 1c59b017 authored by Jimmy's avatar Jimmy Committed by Vrelnir
Browse files

Furniture Store Undef Bug

parent 3a305461
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,7 @@ You approach the paperhangings corner. Samples of pre-made posters and wallpaper
<<if $money gte $_cost>>
<<capture $_key $_furnishing $_cost>>
<<link [["£" + $_cost/100|Furniture Shop Catalogue]]>>
<<if ($_furnishing.tier or 0) lt ($currentFurnishing.tier or 0)>>
<<if ($_furnishing.tier or 0) lt (nullable($currentFurnishing).tier or 0)>>
<<set $furnitureDowngrade to {
key: $_key,
cost: $_cost,
......@@ -371,4 +371,4 @@ You approach the paperhangings corner. Samples of pre-made posters and wallpaper
<<run Furniture.wardrobeUpdate()>>
<<unset $furnitureDowngrade>>
<</link>>
<</widget>>
\ No newline at end of file
<</widget>>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment