mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
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:
+1
-3
@@ -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
|
||||
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user