mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Just a miniupdate, more on the way later.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@954 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -72,8 +72,10 @@
|
||||
mo.show_message(rendered, 2)
|
||||
return
|
||||
|
||||
/proc/is_item_in_list(var/list/L, var/atom/A)
|
||||
for(var/atom/O in L)
|
||||
if(O == A)
|
||||
/proc/is_type_in_list(var/list/L, var/atom/A)
|
||||
for(var/type in L)
|
||||
if(isnull(type))
|
||||
continue
|
||||
if(istype(A, type))
|
||||
return 1
|
||||
return 0
|
||||
Reference in New Issue
Block a user