mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Small fix in Align Things to Linedef action.
This commit is contained in:
parent
f8c8b71dfa
commit
0243c8c3c8
1 changed files with 6 additions and 3 deletions
|
@ -809,9 +809,12 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
|
||||
List<Thing> toAlign = new List<Thing>();
|
||||
|
||||
foreach(Thing t in selected){
|
||||
if(t.IsModel)
|
||||
toAlign.Add(t);
|
||||
foreach(Thing t in selected)
|
||||
if(t.IsModel) toAlign.Add(t);
|
||||
|
||||
if(toAlign.Count == 0) {
|
||||
General.Interface.DisplayStatus(StatusType.Warning, "This action only works for things with models!");
|
||||
return;
|
||||
}
|
||||
|
||||
// Make undo
|
||||
|
|
Loading…
Reference in a new issue