mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 03:49:10 +01:00
@@ -40,7 +40,7 @@
|
||||
has_resources = 1
|
||||
|
||||
// Copypaste parent call for performance.
|
||||
/turf/simulated/mineral/Initialize()
|
||||
/turf/simulated/mineral/Initialize(mapload)
|
||||
if (initialized)
|
||||
crash_with("Warning: [src]([type]) initialized multiple times!")
|
||||
|
||||
@@ -54,6 +54,8 @@
|
||||
luminosity = 1
|
||||
|
||||
has_opaque_atom = TRUE
|
||||
if (!mapload)
|
||||
regenerate_ao()
|
||||
|
||||
if (smooth)
|
||||
pixel_x = -4
|
||||
@@ -519,7 +521,7 @@
|
||||
roof_type = null
|
||||
|
||||
// Copypaste parent for performance.
|
||||
/turf/simulated/floor/asteroid/Initialize()
|
||||
/turf/simulated/floor/asteroid/Initialize(mapload)
|
||||
if(initialized)
|
||||
crash_with("Warning: [src]([type]) initialized multiple times!")
|
||||
initialized = TRUE
|
||||
@@ -534,6 +536,9 @@
|
||||
if(prob(20))
|
||||
overlay_detail = rand(0,9)
|
||||
|
||||
if (mapload && permit_ao)
|
||||
queue_ao()
|
||||
|
||||
if (smooth)
|
||||
pixel_x = -4
|
||||
pixel_y = -4
|
||||
@@ -787,4 +792,4 @@
|
||||
|
||||
/turf/simulated/mineral/Destroy()
|
||||
clear_ore_effects()
|
||||
. = ..()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user