правки
This commit is contained in:
parent
3f805425f1
commit
fc76dcda45
@ -126,9 +126,9 @@ public partial class FormCarConfig : Form
|
|||||||
|
|
||||||
private void labelAdditionalColor_DragDrop(object sender, DragEventArgs e)
|
private void labelAdditionalColor_DragDrop(object sender, DragEventArgs e)
|
||||||
{
|
{
|
||||||
if (_armoredCar?.EntityAircraftGun is EntityAntiAircraftGun _airbus)
|
if (_armoredCar?.EntityAircraftGun is EntityAntiAircraftGun _car)
|
||||||
{
|
{
|
||||||
_airbus.setAdditionalColor((Color)e.Data.GetData(typeof(Color)));
|
_car.setAdditionalColor((Color)e.Data.GetData(typeof(Color)));
|
||||||
}
|
}
|
||||||
DrawObject();
|
DrawObject();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user