Fixed some errors from analyzer
This commit is contained in:
+1
-1
@@ -3792,7 +3792,7 @@ namespace Game.Maps
|
||||
if (unit)
|
||||
{
|
||||
// Target must be GameObject.
|
||||
if (target != null)
|
||||
if (target == null)
|
||||
{
|
||||
Log.outError(LogFilter.Scripts, "{0} target object is NULL.", step.script.GetDebugInfo());
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user