fixed splitting bug

This commit is contained in:
itsmattkc
2019-09-24 14:45:42 +10:00
parent 85c9687f91
commit ef39151b53
4 changed files with 16 additions and 8 deletions
+6 -1
View File
@@ -26,7 +26,12 @@ GapBlock::GapBlock()
Block *GapBlock::copy()
{
return new GapBlock();
GapBlock* c = new GapBlock();
c->set_block_name(block_name());
c->set_length(length());
return c;
}
Block::Type GapBlock::type()