mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-29 03:22:12 +00:00
Add Coalesce to byond
Add Coalesce to byond Now on a branch that didnt randomly explode
This commit is contained in:
5
modular_chomp/code/coalesce_ch.dm
Normal file
5
modular_chomp/code/coalesce_ch.dm
Normal file
@@ -0,0 +1,5 @@
|
||||
/proc/coalesce(var/args/...)
|
||||
for (var/arg in args)
|
||||
if (arg)
|
||||
return arg
|
||||
return null
|
||||
Reference in New Issue
Block a user