Skip to content

Commit

Permalink
fixed bug where client read data from cs2d at wrong speed
Browse files Browse the repository at this point in the history
  • Loading branch information
EnderCrypt committed Jan 25, 2017
1 parent 97eefe0 commit 09f8cd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified cs2d/sys/lua/Cs2dSpy/Cs2dSpy.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/com/endercrypt/cs2dspy/Main.java
Expand Up @@ -78,7 +78,7 @@ public static void main(String[] args) throws IOException, InterruptedException
Dimension screenSize = new Dimension(settings.key("Client.Width").getInteger(), settings.key("Client.Height").getInteger());
G_FPS = settings.key("Client.Fps").getInteger();
Cs2dSpyUpdateFrequency = settings.key("Cs2d.UpdateFrequency").getInteger();
U_FPS = 50 / Cs2dSpyUpdateFrequency;
U_FPS = 1000 / 50 * Cs2dSpyUpdateFrequency;

System.out.println("Starting Cs2d client...");

Expand Down

0 comments on commit 09f8cd3

Please sign in to comment.