Skip to content

Conversation

daboross
Copy link

This updates map.js's generateRoom function to input a correctly-formed terrain data item into the database.

I'm not sure this is the entire fix, or even if this changes the behavior in the right location, but it does fix creeps not spawning in new rooms.

I haven't done extensive testing, but this does seem initially like a complete fix for http://support.screeps.com/hc/en-us/community/posts/209656209-Error-in-engine-processor-spawning-creep-after-setting-custom-terrain.

This updates map.js's `generateRoom` function to input a correctly-formed terrain data item into the database.

I'm not sure this is the entire fix, or even if this changes the behavior in the right location, but it does fix some things.
@artch
Copy link
Contributor

artch commented Nov 14, 2016

Fixed in screeps/engine@0b992c6

@artch artch closed this Nov 14, 2016
@daboross
Copy link
Author

Awesome, thank you! This works.

@daboross daboross deleted the patch-1 branch November 19, 2016 21:18
@daboross daboross restored the patch-1 branch November 19, 2016 21:18
@daboross daboross deleted the patch-1 branch November 19, 2016 21:18
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.

2 participants