Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ports "Fix OD lint errors" #316

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

Doubleumc
Copy link
Contributor

About the pull request

Port of "Fix OD lint errors" from main CM: cmss13-devs/cmss13#6566

Explain why it's good for the game

Don't like this:
image

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

No player-facing changes. All credit to @Drulikar

# 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
<details>
<summary>Screenshots & Videos</summary>


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

</details>


# Changelog

No player facing changes.
@AndroBetel AndroBetel merged commit 06dd360 into cmss13-devs:master Jun 29, 2024
36 checks passed
@Doubleumc Doubleumc deleted the port-fix-OD-lint-errors branch June 29, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants