From 1745ac05413aaf74b493d5f792970bfc93382292 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Tue, 31 Mar 2020 11:58:15 -0700 Subject: [PATCH] Update Queue const to prevent DEPRECATED collisions --- srcgen/consts/queue.rs.dt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcgen/consts/queue.rs.dt b/srcgen/consts/queue.rs.dt index a497202..359af98 100644 --- a/srcgen/consts/queue.rs.dt +++ b/srcgen/consts/queue.rs.dt @@ -28,7 +28,7 @@ pub enum Queue { for (let { queueId, map, description, notes } of colQueues) { const doc = (description ? description + ' games on ' : '') + map; const deprecated = (notes || '').toUpperCase().indexOf('DEPRECATED') >= 0; - const name = groupName + ((colQueues.length > 1 && deprecated) ? '_DEPRECATED' : ''); + const name = groupName + ((colQueues.length > 1 && deprecated) ? `_DEPRECATED_${queueId}` : ''); }} /// {{= doc }}. {{? notes }}