Fixed errors in lua clone units

This commit is contained in:
Pax1601
2023-09-04 21:44:22 +02:00
parent d684f91a5a
commit cbb878cf96
3 changed files with 76 additions and 19 deletions

View File

@@ -201,7 +201,7 @@ export function followUnit(ID: number, targetID: number, offset: { "x": number,
export function cloneUnits(units: {ID: number, location: LatLng}[], callback: CallableFunction = () => {}) {
var command = { "units": units };
var data = { "cloneUnit": command }
var data = { "cloneUnits": command }
POST(data, callback);
}