From 45b7eba2cf3654667bf79c35c5525e2674c38341 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 22 Jun 2019 20:05:33 +0000
Subject: [PATCH] Fix tram (HZ)250 which is really HL410

---
 lib/vehicle_types.php |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/lib/vehicle_types.php b/lib/vehicle_types.php
index 0c7092a..48eab81 100644
--- a/lib/vehicle_types.php
+++ b/lib/vehicle_types.php
@@ -11,9 +11,16 @@
 			];
 		}
 	}
-	return [];
+	return [
+		'num' => '??'.$id,
+		'type' => '?',
+		'low' => NULL,
+	];
 }
 function numToTypeT($id) {
+	if((int)$id == 250) {
+		$id = 410;
+	}
 $data = <<<'END'
 101	107	HW	E1	0
 108	113	RW	E1	0
@@ -41,7 +48,7 @@
 314	322	RF	GT8S	0
 323	323	RF	GT8N	1
 324	324	RF	GT8S	0
-325	328	RF	GT8N	1
+325	329	RF	GT8N	1
 401	440	HL	EU8N	1
 451	456	HK	N8C-NF	0
 457	461	HK	N8S-NF	1

--
Gitblit v1.9.1