Skip to content

Commit 090dbf7

Browse files
committed
refactor: remove redundant null check because we don't expect null tile
1 parent 6922315 commit 090dbf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msu/hooks/entity/tactical/tactical_entity_manager.nut

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
q.getAdjacentActors <- function( _tile )
4040
{
41-
if (_tile != null && _tile.ID == 0)
41+
if (_tile.ID == 0)
4242
{
4343
::logError("The ID of _tile is 0 which means that the actor this tile was fetched from is not placed on map.");
4444
throw ::MSU.Exception.InvalidValue(_tile);

0 commit comments

Comments
 (0)