Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/zenkit/daedalus_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def set_string(self, val: str, i: int = 0, ctx: DaedalusInstance | None = None)
)

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

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