runner_functions: Use more intuitive name for opening merchant stand

You open a merchant stand, you don't open the merchant.
This commit is contained in:
David Coles
2020-09-17 13:30:28 -07:00
parent 9b3a8b61d9
commit a296119b10
+2 -2
View File
@@ -448,7 +448,7 @@ function unequip(slot) // show_json(character.slots) => to see slot options
* *
* @param {number} [num=0] Inventory slot containing merchant stand. * @param {number} [num=0] Inventory slot containing merchant stand.
*/ */
function open_merchant(num) function open_stand(num)
{ {
num = num || 0; num = num || 0;
if(!character.items[num]) return; if(!character.items[num]) return;
@@ -462,7 +462,7 @@ function open_merchant(num)
/** /**
* Close Merchant stand. * Close Merchant stand.
*/ */
function close_merchant() function close_stand()
{ {
parent.close_merchant(); parent.close_merchant();
} }