mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Optimize a couple things
This commit is contained in:
@@ -45,9 +45,18 @@ GLOBAL_DATUM(revdata, /datum/getrev)
|
||||
return
|
||||
if(header)
|
||||
. += "The following pull requests are currently test merged:"
|
||||
<<<<<<< HEAD
|
||||
for(var/line in testmerge)
|
||||
var/datum/tgs_revision_information/test_merge/tm = line
|
||||
var/cm = tm.head_commit //CHOMPStation Edit TGS4
|
||||
||||||| parent of 0dcdc6d7d5... Merge pull request #11179 from VOREStation/Arokha/opt
|
||||
for(var/line in testmerge)
|
||||
var/datum/tgs_revision_information/test_merge/tm = line
|
||||
var/cm = tm.pull_request_commit
|
||||
=======
|
||||
for(var/datum/tgs_revision_information/test_merge/tm as anything in testmerge)
|
||||
var/cm = tm.pull_request_commit
|
||||
>>>>>>> 0dcdc6d7d5... Merge pull request #11179 from VOREStation/Arokha/opt
|
||||
var/details = ": '" + html_encode(tm.title) + "' by " + html_encode(tm.author) + " at commit " + html_encode(copytext_char(cm, 1, 11))
|
||||
if(details && findtext(details, "\[s\]") && (!usr || !usr.client.holder))
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user