mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] JSON Logging Refactor (#11623)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
272afa33c8
commit
5a62077f2c
@@ -22,7 +22,7 @@ GLOBAL_DATUM_INIT(gas_data, /datum/xgm_gas_data, new())
|
||||
var/decl/xgm_gas/gas = new p //avoid initial() because of potential New() actions
|
||||
|
||||
if(gas.id in gases)
|
||||
error("Duplicate gas id `[gas.id]` in `[p]`")
|
||||
log_world("## ERROR Duplicate gas id `[gas.id]` in `[p]`")
|
||||
|
||||
gases += gas.id
|
||||
name[gas.id] = gas.name
|
||||
|
||||
Reference in New Issue
Block a user