mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 07:24:52 +09:00
fixed brakets v2
This commit is contained in:
1 parent
a67a1d3d1d
commit
c5b55f27b7
1 file changed
+1
-1
@@ -832,7 +832,7 @@ function instanceManagement() {
|
||||
let cmd="[";
|
||||
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>400)//450 //ITS SMALL SO FACTORIO DOESNT SPILT IT INTO MULTIPLE PACKETS
|
||||
{
|
||||
messageInterface("/silent-command remote.call('clusterio', 'importMany', '"+cmd.slice(0, -1)+"]"+ "')");
|
||||
|
||||
Reference in new issue
Block a user