Browse Source

[Fixed] Put calculation in the chevrons causing type mis-match

KevinSmarts 4 năm trước cách đây
mục cha
commit
8caf994e2f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      locations/preSYS2.qsrc

+ 1 - 1
locations/preSYS2.qsrc

@@ -171,7 +171,7 @@ end
 if $ARGS[0] = 'modrel_setup4':
 	dynamic 'if <<$ARGS[1]>> < 0: <<$ARGS[1]>> = 0'
 	dynamic 'if <<$ARGS[1]>> > 100: <<$ARGS[1]>> = 100'
-	dynamic 'x = <<100-$ARGS[1]>>'
+	dynamic 'x = 100-<<$ARGS[1]>>'
 	'<TR bgcolor=#ffffff><TD><<$ARGS[2]>> (<<x>>/100)</TD><TD><a href="exec:<<$ARGS[1]>> = 100 & gt ''preSYS2'', $metka">zero</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> += 10 & gt ''preSYS2'', $metka">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>>  += 5 & gt ''preSYS2'', $metka">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>>  -= 5 & gt ''preSYS2'', $metka">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>>  -= 10 & gt ''preSYS2'', $metka">plus 10</a></TD><TD><a href="exec:<<$ARGS[1]>>  = 0 & gt ''preSYS2'', $metka">100</a></TD>'
 end