corrects some loop syntax (#92252)

## About The Pull Request
spacemandmm, and byond, did not used to error on using `for init; test,
inc`. spacemandmm now does, and i think it's bad syntax to keep around
anyway

## Why It's Good For The Game
this syntax was mad

## Changelog
no playerfacing changes

Co-authored-by: harryob <55142896+harryob@users.noreply.github.com>
This commit is contained in:
harry
2025-07-23 22:03:09 -06:00
committed by GitHub
co-authored by harryob
parent b962786843
commit be89f131f1
3 changed files with 3 additions and 3 deletions
@@ -376,7 +376,7 @@ no power level overlay is currently in the overlays list.
if(connected_gens.len < 2)
return
var/connected_gen_counter
for(connected_gen_counter = 1; connected_gen_counter < connected_gens.len, connected_gen_counter++)
for(connected_gen_counter = 1; connected_gen_counter < connected_gens.len; connected_gen_counter++)
var/list/connected_gen_list = ((connected_gens[connected_gen_counter].connected_gens & connected_gens[connected_gen_counter+1].connected_gens)^src)
if(!connected_gen_list.len)