mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
[MIRROR] Fixed an infinitely-printing log message about pipenets. [MDB IGNORE] (#17312)
* Fixed an infinitely-printing log message about pipenets. (#70963) ## About The Pull Request A slight logging error resulted in a specific warning about pipenets never being suppressed, instead continually printing the message that states that further messages will be suppressed. This was caused by the limit on pipenet warnings being decremented in the wrong place. This oversight has been corrected. ## Why It's Good For The Game  This is really annoying to scroll through. ## Changelog 🆑 fix: Properly suppressed a message about suppressing messages. /🆑 * Fixed an infinitely-printing log message about pipenets. Co-authored-by: lizardqueenlexi <105025397+lizardqueenlexi@users.noreply.github.com>
This commit is contained in:
@@ -445,8 +445,8 @@ SUBSYSTEM_DEF(air)
|
||||
if(pipenetwarnings > 0)
|
||||
log_mapping("build_pipeline(): [item.type] added to a pipenet while still having one. (pipes leading to the same spot stacking in one turf) around [AREACOORD(item)].")
|
||||
pipenetwarnings--
|
||||
if(pipenetwarnings == 0)
|
||||
log_mapping("build_pipeline(): further messages about pipenets will be suppressed")
|
||||
if(pipenetwarnings == 0)
|
||||
log_mapping("build_pipeline(): further messages about pipenets will be suppressed")
|
||||
|
||||
net.members += item
|
||||
border += item
|
||||
|
||||
Reference in New Issue
Block a user