Decorate/Zscript Actors that replace other actors should now display the correct actor name given through the $Title editor key. Fixes #122

This commit is contained in:
biwa 2021-02-13 15:12:49 +01:00
parent 3c7811de5e
commit 18d56c6e04

View file

@ -1809,7 +1809,7 @@ namespace CodeImp.DoomBuilder.Data
if (!string.IsNullOrEmpty(actor.ReplacesClass) && thingtypesbyclass.ContainsKey(actor.ReplacesClass))
{
// Update info
thingtypesbyclass[actor.ReplacesClass].ModifyByDecorateActor(actor, true);
thingtypesbyclass[actor.ReplacesClass].ModifyByDecorateActor(actor);
// Count
counter++;