Fix a retarded crash with husks; remove some debug
This commit is contained in:
@@ -63,8 +63,6 @@ namespace OpenRA.Mods.Cnc
|
|||||||
{
|
{
|
||||||
if (self.IsDead())
|
if (self.IsDead())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Game.Debug("Creating");
|
|
||||||
self.World.AddFrameEndTask(ww => DoProduction(self, cargo.Unload(self), exit, spawn));
|
self.World.AddFrameEndTask(ww => DoProduction(self, cargo.Unload(self), exit, spawn));
|
||||||
}));
|
}));
|
||||||
a.QueueActivity(new Fly(endPos));
|
a.QueueActivity(new Fly(endPos));
|
||||||
|
|||||||
@@ -229,9 +229,6 @@
|
|||||||
|
|
||||||
^Husk:
|
^Husk:
|
||||||
Category: Vehicle
|
Category: Vehicle
|
||||||
Mobile:
|
|
||||||
ROT: 0
|
|
||||||
Speed: 0
|
|
||||||
Health:
|
Health:
|
||||||
HP: 140
|
HP: 140
|
||||||
Armor: Heavy
|
Armor: Heavy
|
||||||
|
|||||||
@@ -336,6 +336,8 @@ MSAM:
|
|||||||
Recoil: 0
|
Recoil: 0
|
||||||
RenderUnitTurreted:
|
RenderUnitTurreted:
|
||||||
AutoTarget:
|
AutoTarget:
|
||||||
|
LeavesHusk:
|
||||||
|
HuskActor: MSAM.Husk
|
||||||
|
|
||||||
MLRS:
|
MLRS:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
@@ -361,6 +363,8 @@ MLRS:
|
|||||||
PrimaryOffset: 0,5,0,0
|
PrimaryOffset: 0,5,0,0
|
||||||
RenderUnitTurreted:
|
RenderUnitTurreted:
|
||||||
AutoTarget:
|
AutoTarget:
|
||||||
|
LeavesHusk:
|
||||||
|
HuskActor: MLRS.Husk
|
||||||
|
|
||||||
STNK:
|
STNK:
|
||||||
Inherits: ^Vehicle
|
Inherits: ^Vehicle
|
||||||
@@ -543,3 +547,27 @@ HTNK.Husk:
|
|||||||
Spread: 3,3
|
Spread: 3,3
|
||||||
Speed: 6
|
Speed: 6
|
||||||
AnimKey: turret
|
AnimKey: turret
|
||||||
|
|
||||||
|
MSAM.Husk:
|
||||||
|
Inherits: ^Husk
|
||||||
|
Valued:
|
||||||
|
Description: Husk (Rocket Launcher)
|
||||||
|
RenderUnit:
|
||||||
|
Image: msam
|
||||||
|
ThrowsParticle@turret:
|
||||||
|
Anim: turret
|
||||||
|
Spread: 3,3
|
||||||
|
Speed: 6
|
||||||
|
AnimKey: turret
|
||||||
|
|
||||||
|
MLRS.Husk:
|
||||||
|
Inherits: ^Husk
|
||||||
|
Valued:
|
||||||
|
Description: Husk (SSM Launcher)
|
||||||
|
RenderUnit:
|
||||||
|
Image: mlrs
|
||||||
|
ThrowsParticle@turret:
|
||||||
|
Anim: turret
|
||||||
|
Spread: 3,3
|
||||||
|
Speed: 6
|
||||||
|
AnimKey: turret
|
||||||
Reference in New Issue
Block a user