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

Apply migrations to more jmapgens #45413

Merged
merged 1 commit into from
Nov 15, 2020

Conversation

anothersimulacrum
Copy link
Member

@anothersimulacrum anothersimulacrum commented Nov 14, 2020

Summary

SUMMARY: Bugfixes "Make sure items spawned during mapgen are migrated"

Purpose of change

Fixes #40408

Describe the solution

jmapgen_spawn_item and jmapgen_liquid_item did not migrate items passed to them. This showed up when spawning in a rural gas station with generic guns, a shotgun and shot for it would be spawned, but not migrated to the generic guns versions.
Migrate those now.

Testing

Create a world with the generic guns mod, start in the last delivery scenario. Look around for either the shotgun or shotgun shells, and see they are properly migrated.

jmapgen_spawn_item and jmapgen_liquid_item did not migrate items passed
to them. This showed up when spawning in a rural gas station with
generic guns, a shotgun and shot for it would be spawned, but not
migrated to the generic guns versions.
Migrate those now.
@anothersimulacrum anothersimulacrum added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Spawn Creatures, items, vehicles, locations appearing on map Mods: Generic Guns Anything to do with Generic Guns labels Nov 14, 2020
@ZhilkinSerg ZhilkinSerg merged commit 2337d40 into CleverRaven:master Nov 15, 2020
@anothersimulacrum anothersimulacrum deleted the migration-time branch November 15, 2020 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Mods: Generic Guns Anything to do with Generic Guns Spawn Creatures, items, vehicles, locations appearing on map
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rural Gas Station (Last Delivery) spawns 00 shot with Generic Guns on.
2 participants