Skip to content

Commit d04f602

Browse files
authored
Merge pull request #579 from AndrewScripter587/main
Fix a naming issue
2 parents 5739ebd + 63d6f0d commit d04f602

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

static/extensions/AndrewGaming587/agBuffer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@
14231423
let datatype = compiler.descendInput(node.datatype).asString();
14241424
let buffer = compiler.descendInput(node.buffer).asUnknown();
14251425
let index = compiler.descendInput(node.index).asNumber();
1426-
let endian = compiler.descendInput(node.datatype).asBoolean();
1426+
let endian = compiler.descendInput(node.endian).asBoolean();
14271427
compiler.source = 'yield* (function*(buffer, index, endian, datatype = null) {'
14281428
// compiler.source += `let buffer = ${buffer};`
14291429
// console.log(datatype)

0 commit comments

Comments
 (0)