Skip to content

Commit 12e83c2

Browse files
authored
[#6] fix: DaedalusSymbol.get_int broken value member access
1 parent 0f64470 commit 12e83c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/zenkit/daedalus_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def set_string(self, val: str, i: int = 0, ctx: DaedalusInstance | None = None)
125125
)
126126

127127
def get_int(self, i: int = 0, ctx: DaedalusInstance | None = None) -> int:
128-
return DLL.ZkDaedalusSymbol_getInt(self._handle, c_uint16(i), ctx.handle if ctx else None).value
128+
return DLL.ZkDaedalusSymbol_getInt(self._handle, c_uint16(i), ctx.handle if ctx else None)
129129

130130
def set_int(self, val: int, i: int = 0, ctx: DaedalusInstance | None = None) -> None:
131131
DLL.ZkDaedalusSymbol_setInt(self._handle, c_int32(val), c_uint16(i), ctx.handle if ctx else None)

0 commit comments

Comments
 (0)