mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Miscellaneous fixes (#2774)
changes: Fixed various GC failures. Converted integrated radios (used in PDA cartridges) to Initialize. Added a missing Destroy to the QM PDA cartridge's integrated radio. Fixed a runtime when mineturfs with no ore were destroyed by explosions. Fixed a runtime when explosions attempted to Z-travel. Minor radio performance improvements. Converted radio globals to defines. Changed the Security-I and Medical-I frequencies to use the same colors as their respective departments. Fixes #2646.
This commit is contained in:
@@ -716,7 +716,6 @@
|
||||
if(prob(25) && has_resources)
|
||||
var/list/ore = list()
|
||||
for(var/metal in resources)
|
||||
|
||||
switch(metal)
|
||||
if("silicates")
|
||||
ore += /obj/item/weapon/ore/glass
|
||||
@@ -753,9 +752,10 @@
|
||||
ore += /obj/item/weapon/ore/glass
|
||||
else
|
||||
ore += /obj/item/weapon/ore/glass
|
||||
var/ore_path = pick(ore)
|
||||
if(ore)
|
||||
new ore_path(src)
|
||||
if (ore.len)
|
||||
var/ore_path = pick(ore)
|
||||
if(ore)
|
||||
new ore_path(src)
|
||||
|
||||
if(dug <= 10)
|
||||
dug += 1
|
||||
|
||||
Reference in New Issue
Block a user