mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 16:13:12 +09:00
Tried to fix desyncs further
based on factorio networking stuff
This commit is contained in:
1 parent
f10d6bbfb5
commit
594c994560
1 file changed
+1
-1
@@ -835,7 +835,7 @@ function instanceManagement() {
|
|||||||
for(let i=0;i<confirmedOrders.length;i++)
|
for(let i=0;i<confirmedOrders.length;i++)
|
||||||
{
|
{
|
||||||
cmd+='"'+confirmedOrders[i].name+'"'+":"+confirmedOrders[i].count+",";
|
cmd+='"'+confirmedOrders[i].name+'"'+":"+confirmedOrders[i].count+",";
|
||||||
if(cmd.length>1000)
|
if(cmd.length>400)//450 //ITS SMALL SO FACTORIO DOESNT SPILT IT INTO MULTIPLE PACKETS
|
||||||
{
|
{
|
||||||
messageInterface("/silent-command remote.call('clusterio', 'importMany', '"+cmd.slice(0, -1)+"}"+ "')");
|
messageInterface("/silent-command remote.call('clusterio', 'importMany', '"+cmd.slice(0, -1)+"}"+ "')");
|
||||||
cmd="{";
|
cmd="{";
|
||||||
|
|||||||
Reference in new issue
Block a user