mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-29 06:07:54 +07:00
Bugfixes
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 6.2 KiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
@ -345,7 +345,7 @@ public class NetClient implements ApplicationListener{
|
||||
requests[i] = player.getPlaceQueue().get(i);
|
||||
}
|
||||
|
||||
Call.onClientShapshot(lastSent++, Time.millis(), player.x, player.y,
|
||||
Call.onClientShapshot(lastSent++, player.x, player.y,
|
||||
player.pointerX, player.pointerY, player.rotation, player.baseRotation,
|
||||
player.velocity().x, player.velocity().y,
|
||||
player.getMineTile(),
|
||||
|
@ -259,7 +259,7 @@ public class NetServer implements ApplicationListener{
|
||||
@Remote(targets = Loc.client, unreliable = true)
|
||||
public static void onClientShapshot(
|
||||
Player player,
|
||||
int snapshotID, long sent,
|
||||
int snapshotID,
|
||||
float x, float y,
|
||||
float pointerX, float pointerY,
|
||||
float rotation, float baseRotation,
|
||||
|
Reference in New Issue
Block a user