DreamWeave-MP / CoreScripts

The serverside Lua scripts used to implement core functionality in S3MP.
MIT License
0 stars 1 forks source link

refactor(scipts): pt. 1 removing explicit nil checks #12

Closed YvanCywan closed 1 year ago

YvanCywan commented 1 year ago
  1. This removes explicit nil checks and instead checks for truthness
  2. dud variables in loops are now named _
  3. Attempt to cut down on excessive nesting when possible You might want to wait until pt. 2 of this is handled.