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

Фикс рантайма remove_images_from_clients #254

Merged
merged 2 commits into from
Sep 8, 2024

Conversation

Waselon
Copy link
Collaborator

@Waselon Waselon commented Sep 8, 2024

RUNTIME: runtime error: Cannot read null.images
 - proc name: remove images from clients (/proc/remove_images_from_clients)
 -   source file: code/__HELPERS/game.dm,94
 -   usr: Mature Hunter (If) (/mob/living/carbon/xenomorph/hunter)
 -   src: null
 -   usr.loc: the cave (181,73,2) (/turf/open/floor/plating/ground/mars/random/cave)
 -   call stack:
 - remove images from clients(, /list (/list))
 - /datum/callback (/datum/callback): Invoke()
 - world: PushUsr(Mature Hunter (If) (/mob/living/carbon/xenomorph/hunter), /datum/callback (/datum/callback))
 - /datum/callback (/datum/callback): InvokeAsync()
 - Timer (/datum/controller/subsystem/timer): fire(0)
 - Timer (/datum/controller/subsystem/timer): ignite(0)
 - Master (/datum/controller/master): RunQueue()
 - Master (/datum/controller/master): Loop(2)
 - Master (/datum/controller/master): StartProcessing(0)

Signed-off-by: Waselon <[email protected]>
@Tatarla Tatarla added the Fix Исправление или правка. label Sep 8, 2024
@Tatarla Tatarla assigned homexp13 and Helg2 and unassigned homexp13 and Helg2 Sep 8, 2024
@Tatarla Tatarla requested review from homexp13 and Helg2 September 8, 2024 08:26
Comment on lines 93 to 94
for(var/client/C AS in show_to)
C.images -= I
C?.images -= I
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Просто убери AS?

Signed-off-by: Waselon <[email protected]>
Copy link
Collaborator

@Helg2 Helg2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ну вроде норм

@Tatarla Tatarla merged commit b45f78e into PMC-Unga-Marines:master Sep 8, 2024
6 checks passed
@Helg2
Copy link
Collaborator

Helg2 commented Sep 8, 2024

Хотя возможно все сломается xd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Исправление или правка.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants