Jump to content
  • 0
Xy.

Json-parms

Question

The parameters's names are case sensitive in .json conf. files.

 

can you fix that ? or maybe explain the logic behind that.

 

yes MaxPlayers doesnt work, maxPlayers does.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

They're supposed to be case-sensitive for consistency. Having them case-insensitive for "flexibility" reasons is a bad practice in software engineering / game programming.

Share this post


Link to post
Share on other sites
  • 0

no that is ridiculous !!!

 

you think one day in a conf. file you will have :   MaxPlayer for one thing and maxPlayer for another thing ???

I don't think so.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×