linters are literally stupid

This commit is contained in:
Timothy Teakettle
2021-05-08 21:19:07 +01:00
parent 23015f83c4
commit d479f80f9b
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -2430,7 +2430,9 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/index = text2num(href_list["marking_index"])
var/marking_type = href_list["marking_type"]
if(index && marking_type && features[marking_type])
features[marking_type].Cut(index, index + 1)
// because linters are just absolutely awful:
var/list/L = features[marking_type]
L.Cut(index, index + 1)
if("marking_add")
// add a marking