mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 21:41:25 -08:00
Fixed #3936
This commit is contained in:
parent
e6c4a6cf69
commit
8fa6b76bf9
3 changed files with 4 additions and 2 deletions
|
|
@ -66,7 +66,7 @@ public class Renderer implements ApplicationListener{
|
|||
|
||||
float dest = Mathf.round(targetscale, 0.5f);
|
||||
camerascale = Mathf.lerpDelta(camerascale, dest, 0.1f);
|
||||
if(Mathf.within(camerascale, dest, 0.001f)) camerascale = dest;
|
||||
if(Mathf.equal(camerascale, dest, 0.001f)) camerascale = dest;
|
||||
laserOpacity = Core.settings.getInt("lasersopacity") / 100f;
|
||||
|
||||
if(landTime > 0){
|
||||
|
|
|
|||
|
|
@ -402,6 +402,8 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
|
|||
|
||||
/** Actually destroys the unit, removing it and creating explosions. **/
|
||||
public void destroy(){
|
||||
if(!isAdded()) return;
|
||||
|
||||
float explosiveness = 2f + item().explosiveness * stack().amount * 1.53f;
|
||||
float flammability = item().flammability * stack().amount / 1.9f;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=9cb277618ace40f91c93987ad922c16922c1a8d6
|
||||
archash=5d45de2d63d75e9a51a0f38d1cbc572020c2b273
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue