Fixes vendors displaying that a price is "0" instead of "FREE" (#28815)

* begone

* Fixes vendors displaying "0" instead of "FREE"

* bundle rebuild

---------

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
Contrabang
2025-03-27 23:03:14 +00:00
committed by GitHub
co-authored by Burzah
parent 6cbbe75b7a
commit 2398fd45f6
3 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
## Merge hooks, run tools/hooks/install.bat or install.sh to set up
*.dmm text eol=lf merge=dmm
*.dmi binary merge=dmi
## TGUI bundle merge drivers
*.bundle.* binary merge=tgui-merge-bundle
*.chunk.* binary merge=tgui-merge-bundle
+1 -1
View File
@@ -11,7 +11,7 @@ const VendingRow = (props, context) => {
if (locked && bypass_lock) {
buttonText = 'FREE (' + product.price + ')';
rowIcon = 'arrow-circle-down';
} else if (!locked) {
} else if (!locked || product.price === 0) {
buttonText = 'FREE';
rowIcon = 'arrow-circle-down';
} else {
File diff suppressed because one or more lines are too long