diff --git a/Client/scripts/HandlePacket/handlepacket.gml b/Client/scripts/HandlePacket/handlepacket.gml index 6368713..c4dc1c6 100644 --- a/Client/scripts/HandlePacket/handlepacket.gml +++ b/Client/scripts/HandlePacket/handlepacket.gml @@ -40,7 +40,7 @@ function handlePacket(data) { if (ping < 100) global.server_time_delay = 50 else - global.server_time_delay = 100 * (ping div 100) + global.server_time_delay = 100 * ceil(ping / 100) } global.ping = ping @@ -56,7 +56,7 @@ function handlePacket(data) { var ping = new_t - t if (AUTOADJUST_SERVER_DELAY) - global.server_time_delay = max(global.server_time_delay, 100 * (ping div 100)) + global.server_time_delay = max(global.server_time_delay, 100 * ceil(ping / 100)) global.ping = ping break diff --git a/Release/GMClient.zip b/Release/GMClient.zip index efed95e..ce60ef2 100644 Binary files a/Release/GMClient.zip and b/Release/GMClient.zip differ diff --git a/Release/JSServer.zip b/Release/JSServer.zip index d50b492..bbc7585 100644 Binary files a/Release/JSServer.zip and b/Release/JSServer.zip differ diff --git a/Release/TSServer.zip b/Release/TSServer.zip index 4a720d8..7dbc8ee 100644 Binary files a/Release/TSServer.zip and b/Release/TSServer.zip differ diff --git a/Release/Warp.yymps b/Release/Warp.yymps index efed95e..ce60ef2 100644 Binary files a/Release/Warp.yymps and b/Release/Warp.yymps differ