supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Move default spawnpoint and sector name ("main") into static variables

Open tobbi opened this issue 1 year ago • 9 comments

Instead of hardcoding "main" for both, I moved it to a variable.

I don't know if this is the right place, though.

tobbi avatar Mar 03 '24 16:03 tobbi

ok code. But someone please test this in game. You never know when something breaks

My code never breaks.

tobbi avatar Mar 03 '24 16:03 tobbi

"my code never breaks" Remember the "prevent drawing offscreen" pr?

MatusGuy avatar Mar 03 '24 16:03 MatusGuy

"my code never breaks" Remember the "prevent drawing offscreen" pr?

The rest of the game wasn't written well enough to support my incredible ideas.

tobbi avatar Mar 03 '24 16:03 tobbi

But it broke the game!! Therefore it broke!!

MatusGuy avatar Mar 03 '24 16:03 MatusGuy

I thought the game would adapt to my code style and just "not break" because it was convinced by the incredible quality of my code.

tobbi avatar Mar 03 '24 17:03 tobbi

You stupid

MatusGuy avatar Mar 03 '24 17:03 MatusGuy

Have you playtested these changes?

MatusGuy avatar May 01 '24 14:05 MatusGuy

It is literally just a code change.

tobbi avatar May 01 '24 14:05 tobbi

Ok but have you at least ran the game and the title screen showed up correctly?

MatusGuy avatar May 01 '24 14:05 MatusGuy