Mindustry: Logic: Empty line causes "Invalid"

Created on 12 Nov 2020  路  3Comments  路  Source: Anuken/Mindustry

Platform: Windows

Build: 113.2

Issue: When importing logic code via "Edit -> Import from clipboard", every empty line turns into "Invalid".

Steps to reproduce:

  1. Import logic code with empty lines, ex.
```
set foo "foo"

set bar "bar"
```

  1. See "Invalid" logic blocks.

Link(s) to mod(s) used: None.

Save file: World.zip

Crash report: None.


  • [X] I have searched the closed and open issues to make sure that this problem has not already been reported.
bug

Most helpful comment

bruh anuke what if someone wants to have their code be somewhat clean

All 3 comments

Because an empty lines is invalid.

Can you add an option to allow empty lines? Or it's better to me to submit a pr?

bruh anuke what if someone wants to have their code be somewhat clean

Was this page helpful?
0 / 5 - 0 ratings

Related issues

emorrp1 picture emorrp1  路  4Comments

flyingpimonster picture flyingpimonster  路  4Comments

bendnuts picture bendnuts  路  3Comments

mindustrybeta picture mindustrybeta  路  3Comments

PaintedCat picture PaintedCat  路  4Comments