mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Optimize a couple things
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
/hook/startup/proc/generateGasData()
|
||||
gas_data = new
|
||||
for(var/p in (typesof(/decl/xgm_gas) - /decl/xgm_gas))
|
||||
for(var/p in subtypesof(/decl/xgm_gas))
|
||||
var/decl/xgm_gas/gas = new p //avoid initial() because of potential New() actions
|
||||
|
||||
if(gas.id in gas_data.gases)
|
||||
|
||||
Reference in New Issue
Block a user