Skip to content

Commit 73eab08

Browse files
committed
Bug fixed
1 parent 3bcd20a commit 73eab08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YukimiScript.CodeGen/Bytecode.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ let generateBytecode (Intermediate scenes) (target: FileStream) =
8181
| String s ->
8282
getString s |> int |> (+) 2 |> getBytesLE |> writeBytes code
8383
| Symbol s ->
84-
getString s |> int |> (*) (-1) |> (-) 1 |> getBytesLE |> writeBytes code
84+
- int (getString s) - 1 |> getBytesLE |> writeBytes code
8585

8686
code
8787

0 commit comments

Comments
 (0)