ソースを参照

[fixed] single_stock_item lacked the 5th args needed to set $ARGS[0] in the goto

Kevin_Smarts 1 年間 前
コミット
a6bc27af62
1 ファイル変更1 行追加1 行削除
  1. 1 1
      locations/_single_stock_item.qsrc

+ 1 - 1
locations/_single_stock_item.qsrc

@@ -27,7 +27,7 @@ if ARGS[6] > 0:
 elseif ARGS[0] > in_inventory:
 	$RESULT += 	'<td align="left">(you have <<$in_inventory>>)</td>'
 	if money >= ARGS[2]:
-		$RESULT += '<td align="left"><a href="exec: gs ''$buy_single_item'', <<ARGS[0]>>, ''<<$ARGS[1]>>'', <<ARGS[2]>>, ''<<$ARGS[3]>>'', ''<<$ARGS[4]>>''">buy</a>'
+		$RESULT += '<td align="left"><a href="exec: gs ''$buy_single_item'', <<ARGS[0]>>, ''<<$ARGS[1]>>'', <<ARGS[2]>>, ''<<$ARGS[3]>>'', ''<<$ARGS[4]>>, ''<<$ARGS[5]>>''">buy</a>'
 	else
 		$RESULT += 	'<td></td>'
 	end