mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +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:
@@ -84,7 +84,7 @@
|
||||
var/textLen = min(length(text), 7)
|
||||
var/startX = 16 - (2*textLen)
|
||||
var/i
|
||||
for(i=1; i <= textLen, i++)
|
||||
for(i=1; i <= textLen; i++)
|
||||
var/letter = uppertext(text[i])
|
||||
var/icon/letter_icon = icon("icon" = 'icons/testing/Font_Minimal.dmi', "icon_state" = letter)
|
||||
letter_icon.Shift(EAST, startX) //16 - (2*n)
|
||||
|
||||
Reference in New Issue
Block a user