Files
Bubberstation/code/__HELPERS/records.dm
SkyratBot ee324ab3c2 [MIRROR] Cleanup up all instances of using var/ definitions in proc parameters. (#240)
* Cleanup up all instances of using var/ definitions in proc parameters. (#52728)

* var/list cleanup

* The rest of the owl

* plushvar bad

* Can't follow my own advice.

* Cleanup up all instances of using var/ definitions in proc parameters.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-08-07 18:26:21 +01:00

7 lines
182 B
Plaintext

/proc/overwrite_field_if_available(datum/data/record/base, datum/data/record/other, field_name)
if(other.fields[field_name])
base.fields[field_name] = other.fields[field_name]