mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Mark a few procs as varargs explicitly (#42986)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user