changeset 267:acf1d356cc46 misc

The name field is not used, as it is actually also the hashtable key.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 08 Mar 2015 08:26:49 +0200
parents 37c071cbb0ed
children 3a6d223a1c5b
files materials/parsematerial.pl
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/materials/parsematerial.pl	Sun Mar 08 08:26:22 2015 +0200
+++ b/materials/parsematerial.pl	Sun Mar 08 08:26:49 2015 +0200
@@ -375,7 +375,6 @@
     chomp;
     if (/MATERIAL STATS \(([a-z ]+)\)\:/) {
       $name = $1;
-      $data{$name}{"name"} = $1;
     }
     elsif (/^Weight \(g\/l\)\: *\(([a-z. ]+)\) *Sturdyness\: *\(([a-z. ]+)\)/)
     {