From e81b4a58bd717022758f15e200374c888d6990c8 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sun, 18 Feb 2018 14:54:42 -0500 Subject: [PATCH] Missing mass, fixed name --- recursive-macro.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recursive-macro.js b/recursive-macro.js index 4061b16..3360f49 100644 --- a/recursive-macro.js +++ b/recursive-macro.js @@ -73,6 +73,7 @@ var masses = "Person": 80, "Car": 1000, "Bus": 5000, + "Tram": 10000, "Motorcycle": 200, "House": 10000, "Train": 50000, @@ -420,7 +421,7 @@ function Bus(count = 1) { } function Tram(count = 1) { - this.name = "Bus"; + this.name = "Tram"; copy_defaults(this,new DefaultEntity()); this.count = count;