mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user