Stop agents on same path

Ive setted the player movement with the grid, but when 2 different players wants the same position at the same time they overlap eachother

2 agents in same node:

EDIT:

code: