cmss13-devs / cmss13

Contains the code for CM-SS13
https://cm-ss13.com
GNU Affero General Public License v3.0
95 stars 524 forks source link

length() over .len #6546

Closed Doubleumc closed 3 months ago

Doubleumc commented 3 months ago

About the pull request

Replaces list.len lookup with length(list).

The following replacements are broadly applied:

A few one-offs:

Explain why it's good for the game

length(list) is preferred over list.len since it inherently handles nulls and is allegedly slightly more performant.

Testing Photographs and Procedure

Boots without issue.

Changelog

No player-facing changes.