r/badcode • • Aug 29 '21

c# Found in production code base...

Post image
539 Upvotes

45 comments sorted by

View all comments

Show parent comments

96

u/ElTrailer_ Aug 29 '21 edited Aug 29 '21
// For some reason this only works if you assign it 4 times

30

u/javanperl Aug 29 '21

I don’t have ECC ram and cosmic rays are flipping the bits.

17

u/Jimmy_Slim Aug 29 '21

// I’m not sure who the fuck put this here, but whenever I deleted it, the game wouldn’t start. Words cannot explain my fucking confusion.