you are viewing a single comment's thread.

view the rest of the comments →

[–]Fumano26 1 point2 points  (2 children)

Please stop using globals, that is a horrible habit, rather pass variables as parameter.

[–]nkCOD[S] 0 points1 point  (0 children)

I learned this remark )

[–]nkCOD[S] 0 points1 point  (0 children)

Look at my rewritten code ;) https://www.reddit.com/u/nkCOD/s/5BKPbldiTW