Fixed getname script with new path
This commit is contained in:
parent
8636d3866e
commit
1c7fc8d1df
|
@ -14,7 +14,7 @@ ADJLEVEL=`expr $LEVEL - 1`
|
||||||
LINE1=`expr $ADJWORLD \* 20 + $ADJLEVEL`
|
LINE1=`expr $ADJWORLD \* 20 + $ADJLEVEL`
|
||||||
LINE=`expr $LINE1 + 1`
|
LINE=`expr $LINE1 + 1`
|
||||||
|
|
||||||
NAMELINE=`head -n $LINE data/map.dat | tail -n 1`
|
NAMELINE=`head -n $LINE map.dat | tail -n 1`
|
||||||
NAME=`echo $NAMELINE | awk -F',' '{print $3}'`
|
NAME=`echo $NAMELINE | awk -F',' '{print $3}'`
|
||||||
|
|
||||||
#echo Level $WORLD-$LEVEL is $NAME
|
#echo Level $WORLD-$LEVEL is $NAME
|
||||||
|
|
Loading…
Reference in New Issue