mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Autotagging tgui tree to UI label (#31353)
This commit is contained in:
@@ -209,7 +209,7 @@ function tag_pr($payload, $opened) {
|
|||||||
$tags[] = 'Merge Conflict';
|
$tags[] = 'Merge Conflict';
|
||||||
|
|
||||||
$treetags = array('_maps' => 'Map Edit', 'tools' => 'Tools', 'SQL' => 'SQL');
|
$treetags = array('_maps' => 'Map Edit', 'tools' => 'Tools', 'SQL' => 'SQL');
|
||||||
$addonlytags = array('icons' => 'Sprites', 'sounds' => 'Sound', 'config' => 'Config Update', 'code/controllers/configuration/entries' => 'Config Update');
|
$addonlytags = array('icons' => 'Sprites', 'sounds' => 'Sound', 'config' => 'Config Update', 'code/controllers/configuration/entries' => 'Config Update', 'tgui' => 'UI');
|
||||||
foreach($treetags as $tree => $tag)
|
foreach($treetags as $tree => $tag)
|
||||||
if(has_tree_been_edited($payload, $tree))
|
if(has_tree_been_edited($payload, $tree))
|
||||||
$tags[] = $tag;
|
$tags[] = $tag;
|
||||||
|
|||||||
Reference in New Issue
Block a user