mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
[MIRROR] Don't error on dupe configs in other files. [MDB IGNORE] (#19372)
* Don't error on dupe configs in other files. * Update configuration.dm --------- Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com> Co-authored-by: lessthnthree <three@lessthanthree.dk> Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
co-authored by
Kyle Spier-Swenson
lessthnthree
lessthanthree
parent
a35f8d878a
commit
d6d3cbef16
@@ -244,7 +244,7 @@
|
||||
log_config(log_message)
|
||||
stack_trace(log_message)
|
||||
else
|
||||
if(E.modified && !E.dupes_allowed)
|
||||
if(E.modified && !E.dupes_allowed && E.resident_file == filename)
|
||||
log_config_error("Duplicate setting for [entry] ([value], [E.resident_file]) detected! Using latest.")
|
||||
|
||||
E.resident_file = filename
|
||||
|
||||
Reference in New Issue
Block a user