Files
OpenRA/OpenRA.Game/Network/UnitOrders.cs
Remco van der Zon 8ad4e08651 Unit order client != null check fixed (int != null -> always true!) .
Removed if-else branch in favour of sugar construct a?b:c.

Note: One should (at least) consider to move var client = ... to the
start of the switch construct. 4 branches of this switch are using this.
(DRY)
2012-06-06 10:54:21 +02:00

6.2 KiB
Executable File