mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-30 04:10:41 -08:00
Turret pattern rewrite
This commit is contained in:
parent
c3e9a961c5
commit
45f27eaeec
17 changed files with 239 additions and 240 deletions
|
|
@ -137,8 +137,8 @@ public class ContentParser{
|
|||
readFields(result, data);
|
||||
return result;
|
||||
});
|
||||
put(ShotPattern.class, (type, data) -> {
|
||||
var bc = resolve(data.getString("type", ""), ShotPattern.class);
|
||||
put(ShootPattern.class, (type, data) -> {
|
||||
var bc = resolve(data.getString("type", ""), ShootPattern.class);
|
||||
data.remove("type");
|
||||
var result = make(bc);
|
||||
readFields(result, data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue