Skip to content
Snippets Groups Projects
Commit 863026a8 authored by David Bergström's avatar David Bergström
Browse files

Merge branch 'master' into 'master'

Fixed debugging Units

See merge request starcraft-ai-course/pycommandcenter!1
parents 1fbb9529 935ad5ac
No related branches found
Tags 1.2.1
No related merge requests found
......@@ -328,7 +328,6 @@ void Unit::ability(sc2::AbilityID ability, const Unit& target) const
Unit Unit::getTarget() const
{
BOT_ASSERT(isValid(), "Unit is not valid");
BOT_ASSERT(hasTarget(), "Unit has no target");
// if unit has order, check tag of target of first order
if(getUnitPtr()->orders.size() > 0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment