Skip to content

Commit

Permalink
Fixed gas transporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelaux committed Oct 29, 2021
1 parent 8f88fec commit 8c5ff6f
Show file tree
Hide file tree
Showing 6 changed files with 157 additions and 156 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
arcHash = "v133"
packerHash = '128'
mindustryVersion = "v133"
aciVersion = "daea5433ca3"
aciVersion = "9f9ed7da24"
modsDirectories = [];
def file = new File(rootDir, "modsDirectoies.txt");
// println "abs->"+file.getAbsolutePath();
Expand Down
2 changes: 1 addition & 1 deletion core/src/gas/entities/Clouds.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static void deposit(Tile tile, Tile source, Gas gas, float amount,boolean
p.accepting = Math.max(amount, p.accepting);

if(initial && p.lastRipple <= Time.time - 40f && p.amount >= maxGas / 2f){
Fx.ripple.at((tile.worldx() + source.worldx()) / 2f, (tile.worldy() + source.worldy()) / 2f, 1f, p.gasObject.color);
// Fx.ripple.at((tile.worldx() + source.worldx()) / 2f, (tile.worldy() + source.worldy()) / 2f, 1f, p.gasObject.color);
p.lastRipple = Time.time;
}
}else{
Expand Down
Loading

0 comments on commit 8c5ff6f

Please sign in to comment.