WIP: Water animation system - added frame initialization and update loop (debugging in progress)
This commit is contained in:
@@ -803,8 +803,10 @@ class GameScene extends Phaser.Scene {
|
||||
}
|
||||
|
||||
// Terrain system update (za water animacijo)
|
||||
if (this.terrainSystem) {
|
||||
if (this.terrainSystem && this.terrainSystem.update) {
|
||||
this.terrainSystem.update(Date.now(), delta);
|
||||
} else {
|
||||
console.warn('⚠️ TerrainSystem.update not available!');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user