mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Replaces typesof with subtypesof where applicable
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
var/list/datum/material/storage[0]
|
||||
|
||||
/datum/materials/New()
|
||||
for(var/matdata in typesof(/datum/material) - /datum/material)
|
||||
for(var/matdata in subtypesof(/datum/material))
|
||||
var/datum/material/mat = new matdata
|
||||
storage[mat.id]=mat
|
||||
|
||||
|
||||
Reference in New Issue
Block a user