Skip to content

Restore MapThing UDMF Values on Map Reset

Barrels O' Fun requested to merge topic/default/mapreset-uservars into branch/default

During a Map Reset, all objects placed on the map had their custom variables set to 0 regardless of whether they had been given preset values or not.

This also applied for various UDMF values set such as Pitch, Health, Score, Gravity, etc.

This MR Fixes both of these issues, by giving MapThing spawned objects static values to reference similar to what there is for non-UDMF values that are saved on map reset.

Edited by Barrels O' Fun

Merge request reports