Mark a few procs as varargs explicitly (#42986)

This commit is contained in:
Tad Hardesty
2019-03-07 10:58:30 +01:00
committed by AnturK
parent 990e2c7bc2
commit 113d5ffa08
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
//Sends resource files to client cache
/client/proc/getFiles()
/client/proc/getFiles(...)
for(var/file in args)
src << browse_rsc(file)
+1 -1
View File
@@ -1319,7 +1319,7 @@ GLOBAL_DATUM_INIT(dview_mob, /mob/dview, new)
#define UNTIL(X) while(!(X)) stoplag()
/proc/pass()
/proc/pass(...)
return
/proc/get_mob_or_brainmob(occupant)
@@ -46,7 +46,7 @@ GLOBAL_LIST_INIT(gaslist_cache, init_gaslist_cache())
ASSERT_GAS(gas_id, src)
//assert_gases(args) - shorthand for calling ASSERT_GAS() once for each gas type.
/datum/gas_mixture/proc/assert_gases()
/datum/gas_mixture/proc/assert_gases(...)
for(var/id in args)
ASSERT_GAS(id, src)
@@ -57,7 +57,7 @@ GLOBAL_LIST_INIT(gaslist_cache, init_gaslist_cache())
ADD_GAS(gas_id, gases)
//add_gases(args) - shorthand for calling add_gas() once for each gas_type.
/datum/gas_mixture/proc/add_gases()
/datum/gas_mixture/proc/add_gases(...)
var/cached_gases = gases
for(var/id in args)
ADD_GAS(id, cached_gases)