Address AA

This commit is contained in:
mochi
2020-10-04 20:54:47 +02:00
parent 8a9b3c5e74
commit 444a7bfe92
10 changed files with 429 additions and 444 deletions
+3
View File
@@ -15,6 +15,7 @@
* * name - The name
*/
/datum/feed_network/proc/get_channel_by_name(name)
RETURN_TYPE(/datum/feed_channel)
for(var/fc in channels)
var/datum/feed_channel/FC = fc
if(FC.channel_name == name)
@@ -27,6 +28,7 @@
* * author - The author
*/
/datum/feed_network/proc/get_channel_by_author(author)
RETURN_TYPE(/datum/feed_channel)
for(var/fc in channels)
var/datum/feed_channel/FC = fc
if(FC.author == author)
@@ -39,6 +41,7 @@
* * idx - The index
*/
/datum/feed_network/proc/get_channel_by_idx(idx)
RETURN_TYPE(/datum/feed_channel)
if(!ISINDEXSAFE(channels, idx))
return
return channels[idx]