Skip to content

Commit

Permalink
Fix hover unit production
Browse files Browse the repository at this point in the history
Check to see if we can build hover propulsion.
  • Loading branch information
KJeff01 authored Jul 12, 2017
1 parent 0f0f2a7 commit 24d1cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiplay/skirmish/cobra_includes/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function choosePersonalityWeapon(type) {
//What conditions will allow hover use. There is a 15% chance regardless of weapon.
//Expects an array of weapons.
function useHover(weap) {
if(!isDefined(weap)) {
if(!(isDefined(weap) && componentAvailable("hover01"))) {
return false;
}

Expand Down

0 comments on commit 24d1cd0

Please sign in to comment.