Resizing structures/items in editor

This commit is contained in:
Regalis
2016-02-28 21:08:52 +02:00
parent 00c1edad09
commit c64dbed55d
8 changed files with 193 additions and 56 deletions

View File

@@ -141,7 +141,7 @@ namespace Barotrauma
}
public Structure(Rectangle rectangle, StructurePrefab sp, Submarine submarine)
: base(submarine)
: base(sp, submarine)
{
if (rectangle.Width == 0 || rectangle.Height == 0) return;