mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Completed advanced controls also for units
This commit is contained in:
@@ -127,8 +127,8 @@ export function spawnSmoke(color: string, latlng: LatLng) {
|
||||
POST(data, () => { });
|
||||
}
|
||||
|
||||
export function spawnExplosion(strength: number, latlng: LatLng) {
|
||||
var command = { "strength": strength, "location": latlng };
|
||||
export function spawnExplosion(intensity: number, latlng: LatLng) {
|
||||
var command = { "intensity": intensity, "location": latlng };
|
||||
var data = { "explosion": command }
|
||||
POST(data, () => { });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user