aboutsummaryrefslogtreecommitdiff
path: root/mapGen
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-07-31 12:04:07 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-07-31 12:04:07 +0200
commite1ed22eeec6eeec2050795ddba0bea65eb25fedb (patch)
treecadf379df103595040d96e3837508e14e5ee3da0 /mapGen
parenta9b80085f42eada0c0742291d55435925da791ac (diff)
downloadscripts-e1ed22eeec6eeec2050795ddba0bea65eb25fedb.tar.gz
scripts-e1ed22eeec6eeec2050795ddba0bea65eb25fedb.zip
Removed an old line from mapGen.sh
Diffstat (limited to 'mapGen')
-rwxr-xr-xmapGen/mapGen.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/mapGen/mapGen.sh b/mapGen/mapGen.sh
index 5568308..ff35731 100755
--- a/mapGen/mapGen.sh
+++ b/mapGen/mapGen.sh
@@ -19,7 +19,6 @@ drawMap () {
mapText="$(echo "$mapText" | sed 's|\\n|\n|g')"
height="$(echo "$mapText" | wc -l)"
- #width="$(awk '{print length($0)}' "$inputFile" | sort -nr | sed 1q)"
width="$(echo "$mapText" | awk '{print length($0)}' | sort -nr | sed 1q)"
height=$((height*cellSize))
width=$((width*cellSize))