diff --git a/hack.py b/hack.py index 98ccfb4..a04dea3 100644 --- a/hack.py +++ b/hack.py @@ -9,6 +9,10 @@ class Hack(): """Base class for playing with CSGO memory""" def __init__(self, offline: bool = False) -> None: + # Time values + self.wait_time = 0.01 + self.timeout = self.wait_time * 50 + # Loading offsets self.offsets = self._find_offsets(offline) @@ -18,9 +22,6 @@ class Hack(): # Load process self.pm = self._find_process(True) - self.wait_time = 0.01 - self.timeout = self.wait_time * 50 - def _find_offsets(self, offline: bool) -> dict[str, int]: """Load CSGO offset from online repository or local file""" if offline: