mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-18 11:47:47 +07:00
Fixed compile error with new effects system, update uCore
This commit is contained in:
@ -25,7 +25,7 @@ allprojects {
|
||||
appName = 'Mindustry'
|
||||
gdxVersion = '1.9.8'
|
||||
aiVersion = '1.8.1'
|
||||
uCoreVersion = '848920b'
|
||||
uCoreVersion = 'dd5eb72'
|
||||
|
||||
getVersionString = {
|
||||
String buildVersion = getBuildVersion()
|
||||
|
@ -35,9 +35,9 @@ public class GroundEffectEntity extends EffectEntity {
|
||||
GroundEffect effect = (GroundEffect)this.effect;
|
||||
|
||||
if(once && effect.isStatic)
|
||||
Effects.renderEffect(id, effect, color, lifetime, rotation, x, y);
|
||||
Effects.renderEffect(id, effect, color, lifetime, rotation, x, y, data);
|
||||
else if(!effect.isStatic)
|
||||
Effects.renderEffect(id, effect, color, time, rotation, x, y);
|
||||
Effects.renderEffect(id, effect, color, time, rotation, x, y, data);
|
||||
}
|
||||
|
||||
public static class GroundEffect extends Effect{
|
||||
|
Reference in New Issue
Block a user