Fixed spawn points not rendering in editor
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package mindustry.world.blocks.environment;
|
package mindustry.world.blocks.environment;
|
||||||
|
|
||||||
|
import mindustry.editor.*;
|
||||||
import mindustry.world.*;
|
import mindustry.world.*;
|
||||||
|
|
||||||
public class SpawnBlock extends OverlayFloor{
|
public class SpawnBlock extends OverlayFloor{
|
||||||
@@ -11,5 +12,9 @@ public class SpawnBlock extends OverlayFloor{
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void drawBase(Tile tile){}
|
public void drawBase(Tile tile){
|
||||||
|
if(tile instanceof EditorTile){
|
||||||
|
super.drawBase(tile);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user