BUG: Defensive Hawk Missions Not Working

As bugs and suggestions are fixed/implemented/rejected, they will be moved in here.
Post Reply
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

Title mostly says it all - when attempting a defensive hawk mission, I get a:

"You must specify a target!"

message.
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Fixed. I was fixing Nev's bug about there the error with no target selection reporting a dead warband. I used a hack unfortunately. The problem was, the main code was doing the checking alright, but using !isset rather than empty in the conditional. Since the function was always called with the argument in the script, isset always returned true. empty is more stringent that way.
:wq
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members