mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Material Science 1: A bunch of math (#95090)
This commit is contained in:
@@ -346,7 +346,7 @@
|
||||
|
||||
///Spawns shard and debris decal based on the glass_material_datum, spawns rods if window is reinforned and number of shards/rods is determined by the window being fulltile or not.
|
||||
/obj/structure/window/proc/spawn_debris(location)
|
||||
var/datum/material/glass_material_ref = GET_MATERIAL_REF(glass_material_datum)
|
||||
var/datum/material/glass_material_ref = SSmaterials.get_material(glass_material_datum)
|
||||
var/obj/item/shard_type = glass_material_ref.shard_type
|
||||
var/obj/effect/decal/debris_type = glass_material_ref.debris_type
|
||||
var/list/dropped_debris = list()
|
||||
|
||||
Reference in New Issue
Block a user