r/badcode • • Dec 15 '20

c# Thing randomly disables? Just enable it again!

Post image
1.7k Upvotes

30 comments sorted by

30

u/ThatAdamsGuy Dec 15 '20

Reposted as was a screenshot of a screenshot, though wasn't able to xpost it.

(Orignal Here)

265

u/Marcusaralius76 Dec 15 '20

Oh, the joys of helping beginners with their Unity MMOFPSRTSRPG

59

u/[deleted] Dec 15 '20

Their what?

184

u/MCWizardYT Dec 15 '20

Their Massive multiplayer online first-person shooter real-time strategy role-playing game

54

u/tomdebom01 Dec 15 '20

MMOFPSRTSRPG

15

u/_default_username Dec 16 '20

But can they customize their avatar's genitals like cyberpunk?

4

u/fastFox2 Dec 16 '20

Allright. Thats a long game genre.

5

u/Marcusaralius76 Dec 16 '20

So long, they never finished it!

75

u/AmyStrange Dec 15 '20

Does this count as a "technical mortgage"? Debt is too soft of a word for this

35

u/droomph Dec 15 '20

Technical payday loan pawn shop

14

u/Brief-Preference-712 Dec 15 '20

Technical subprime mortgage on the secondary residence/timeshare

2

u/HereComesCunty Dec 16 '20

Lemme get a guy I know who’s a technical debt expert down here to take a look at this

41

u/penguin9541 Dec 15 '20

Reddit when I try to remove an upvote on a post I accidentally gave one to.

82

u/KitchenDutchDyslexic Dec 15 '20

dis.able = true;

25

u/LelouBil Dec 15 '20

It is able to dis

16

u/thebatwayne Dec 15 '20

We know dis

8

u/Okkero Dec 15 '20

Ah yes, fault tolerance

5

u/Jazz8680 Dec 16 '20

I’m worried about what OnEnable() does...

7

u/Terrain2 Dec 16 '20
this.enabled = false;

1

u/JochCool Jan 17 '21

I'm worried about what OnDisable() does...

1

u/[deleted] Mar 09 '21

recursion

4

u/Nall-ohki Dec 15 '20

[Insanity Wolf Template]

2

u/Loogix Dec 15 '20

Ah! Classic!! I can't see anything that could go wrong!!!

4

u/Poddster Dec 15 '20

Classic gamedev: The debugging skills of a child.

1

u/LicenseAgreement Dec 16 '20

What editor is that?

1

u/[deleted] Dec 16 '20

Is this a Java Minecraft bukkit plug-in?

1

u/IuniusPristinus Dec 16 '20

Forcing deterministic behavior on a Heisenbug at a critical point. Works with qubits too.