cmss13-devs / cmss13

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

Fix OD lint errors #6566

Closed Drulikar closed 5 days ago

Drulikar commented 1 week ago

About the pull request

This PR fixes these messages for the OD lint:

Warning OD1002 at code/__pragmas.dm:15:26: Warning 'TooManyArguments' does not exist
Error OD0000 at code/datums/global_variables.dm:127:30: attempt to reference r-value
Error OD0000 at code/datums/global_variables.dm:369:44: attempt to reference r-value

TooManyArguments was replaced with InvalidArgumentCount which should already be an error. The other two errors are regarding initial not working on globals, which it does not appear to.

Explain why it's good for the game

Passing checks is good.

Testing Photographs and Procedure

Screenshots & Videos ![image](https://github.com/cmss13-devs/cmss13/assets/76988376/22a4520c-555d-4d03-971d-703b4bb6197e)

Changelog

No player facing changes.