Apply suggestions from code review

Whitespace fixes

Co-authored-by: Myk <myk.taylor@gmail.com>
develop
Eamon Bode 2023-02-08 15:44:55 -05:00 committed by GitHub
parent bf0b3f8845
commit 1e4a73007e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

@ -816,7 +816,6 @@ static void emplace_bulk_burrow_config(lua_State *L, map<int32_t, map<string, i
burrow_config.emplace("protect_cookable", protect_cookable); burrow_config.emplace("protect_cookable", protect_cookable);
burrows.emplace(id, burrow_config); burrows.emplace(id, burrow_config);
} }
static void emplace_bulk_burrow_config(lua_State *L, map<int32_t, map<string, int32_t>> &burrows, PersistentDataItem &c) { static void emplace_bulk_burrow_config(lua_State *L, map<int32_t, map<string, int32_t>> &burrows, PersistentDataItem &c) {
@ -826,8 +825,6 @@ static void emplace_bulk_burrow_config(lua_State *L, map<int32_t, map<string, in
get_config_bool(c, BURROW_CONFIG_PROTECT_BREWABLE), get_config_bool(c, BURROW_CONFIG_PROTECT_BREWABLE),
get_config_bool(c, BURROW_CONFIG_PROTECT_EDIBLE), get_config_bool(c, BURROW_CONFIG_PROTECT_EDIBLE),
get_config_bool(c, BURROW_CONFIG_PROTECT_COOKABLE)); get_config_bool(c, BURROW_CONFIG_PROTECT_COOKABLE));
} }
static int autochop_getTreeCountsAndBurrowConfigs(lua_State *L) { static int autochop_getTreeCountsAndBurrowConfigs(lua_State *L) {
@ -864,7 +861,6 @@ static int autochop_getTreeCountsAndBurrowConfigs(lua_State *L) {
// push_burrow_config(L, watched_burrows[watched_burrows_indices[id]]); // push_burrow_config(L, watched_burrows[watched_burrows_indices[id]]);
emplace_bulk_burrow_config(L, burrow_config_map, watched_burrows[watched_burrows_indices[id]]); emplace_bulk_burrow_config(L, burrow_config_map, watched_burrows[watched_burrows_indices[id]]);
} else { } else {
// push_burrow_config(L, id);
emplace_bulk_burrow_config(L, burrow_config_map, id); emplace_bulk_burrow_config(L, burrow_config_map, id);
} }
} }

@ -568,7 +568,6 @@ static void push_stockpile_config(lua_State *L, PersistentDataItem &c) {
} }
static void emplace_bulk_stockpile_config(lua_State *L, int id, bool monitored, map<int32_t, map<string, int32_t>> &stockpiles) { static void emplace_bulk_stockpile_config(lua_State *L, int id, bool monitored, map<int32_t, map<string, int32_t>> &stockpiles) {
map<string, int32_t> stockpile_config; map<string, int32_t> stockpile_config;
stockpile_config.emplace("id", id); stockpile_config.emplace("id", id);
stockpile_config.emplace("monitored", monitored); stockpile_config.emplace("monitored", monitored);
@ -751,8 +750,6 @@ static int automelt_getSelectedStockpileConfig(lua_State *L){
return 1; return 1;
} }
static int automelt_getItemCountsAndStockpileConfigs(lua_State *L) { static int automelt_getItemCountsAndStockpileConfigs(lua_State *L) {
color_ostream *out = Lua::GetOutput(L); color_ostream *out = Lua::GetOutput(L);
if (!out) if (!out)