mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-10 04:40:10 +07:00
keep v6 mod compatibility (#5655)
This commit is contained in:
parent
00e3a59463
commit
235fee091e
@ -794,6 +794,11 @@ public class Block extends UnlockableContent{
|
||||
|
||||
clipSize = Math.max(clipSize, size * tilesize);
|
||||
|
||||
//only kept to ensure compatibility with v6 mods.
|
||||
if(expanded){
|
||||
clipSize += tilesize * 10f;
|
||||
}
|
||||
|
||||
if(emitLight){
|
||||
clipSize = Math.max(clipSize, lightRadius * 2f);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user