File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ private void AddGridRow(DataGridView grid, object wzObject) {
125
125
name = StringUtility . GetNPC ( id ) ;
126
126
} else if ( image . WzFileParent . Name . StartsWith ( "Mob" ) ) { // icon path like: '{ID}/(move|stand|fly)/0'
127
127
name = StringUtility . GetMob ( id ) ;
128
- entityIcon = ( entityIcon == null ) ? image . GetFromPath ( "fly/0" ) ?? image . GetFromPath ( "move/0" ) : null ; // attempt to get image of the monster
128
+ if ( entityIcon == null ) entityIcon = image . GetFromPath ( "fly/0" ) ?? image . GetFromPath ( "move/0" ) ; // attempt to get image of the monster
129
129
} else if ( image . WzFileParent . Name . StartsWith ( "Reactor" ) ) {
130
130
name = image . GetFromPath ( "action" ) ? . WzValue . ToString ( ) ;
131
131
entityIcon = image . GetFromPath ( "0/0" ) ;
You can’t perform that action at this time.
0 commit comments