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

Error setting vars on world #804

Closed
Hinaichigo opened this issue Sep 22, 2022 · 4 comments · Fixed by #774
Closed

Error setting vars on world #804

Hinaichigo opened this issue Sep 22, 2022 · 4 comments · Fixed by #774
Labels
Runtime Involves the OpenDream server/runtime

Comments

@Hinaichigo
Copy link
Contributor

When compiling /vg/station, the following two errors occur:

Error at code\world.dm:10:17: Cannot override undefined var cache_lifespan
Error at code\world.dm:14:16: Cannot override undefined var movement_mode

at:

6	/world
7		mob = /mob/new_player
8		turf = /turf/space
9		view = "15x15"
10		cache_lifespan = 0	//stops player uploaded stuff from being kept in the rsc past the current session
11		//loop_checks = 0
12		icon_size = WORLD_ICON_SIZE
13		sleep_offline = FALSE
14		movement_mode = PIXEL_MOVEMENT_MODE

This error only started occurring somewhat recently. This might be related to #735.

@Altoids1
Copy link
Contributor

This is because these vars aren't actually defined in DMStandard I don't think, and now that override logic is working, it's picking up the problem. (Previous code used to just spontaneously transmute these into their own var definitions).

@Hinaichigo
Copy link
Contributor Author

So it's the same thing as being unimplemented?

@wixoaGit wixoaGit added the Compiler Involves the OpenDream compiler label Sep 22, 2022
@Altoids1
Copy link
Contributor

Mhm, this error will be fixed by #774.

@wixoaGit wixoaGit added Runtime Involves the OpenDream server/runtime and removed Compiler Involves the OpenDream compiler labels Sep 22, 2022
@ike709
Copy link
Collaborator

ike709 commented Oct 18, 2022

...Yes, because the fix PR isn't merged yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Runtime Involves the OpenDream server/runtime
Projects
None yet
4 participants