mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-29 11:02:05 +00:00
Fix some new dreamchecker lints (#91844)
## About The Pull Request
https://github.com/SpaceManiac/SpacemanDMM/pull/435 added a new
dreamchecker lint, for SDMM `set` statements not at the top of the proc.
While this lint isn't in the current SDMM _release_, I was testing it
out earlier and saw these issues, so might as well fix them before they
even become an issue.
i also fixed a useless variable in moon heretic code that was right next
to the incorrectly placed `SIGNAL_HANDLER`
## Why It's Good For The Game
https://github.com/user-attachments/assets/5b063f41-32f3-490a-b0a3-199ca8147ec3
## Changelog
No player-facing changes.
(cherry picked from commit a2a43e2851)
This commit is contained in:
@@ -53,8 +53,8 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/circuit_component/mod_program/populate_ports()
|
||||
. = ..()
|
||||
SHOULD_CALL_PARENT(TRUE)
|
||||
. = ..()
|
||||
start = add_input_port("Start", PORT_TYPE_SIGNAL, trigger = PROC_REF(start_prog))
|
||||
kill = add_input_port("Kill", PORT_TYPE_SIGNAL, trigger = PROC_REF(kill_prog))
|
||||
running = add_output_port("Running", PORT_TYPE_NUMBER)
|
||||
|
||||
Reference in New Issue
Block a user