mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 20:44:05 +09:00
fixed a bug where wires cause quicksave to fail
This commit is contained in:
@@ -62,8 +62,12 @@ object WorldCamera {
|
||||
|
||||
private val nullVec = Vector2(0.0, 0.0)
|
||||
|
||||
private var worldWidth = 0
|
||||
private var worldHeight = 0
|
||||
/** World width in pixels */
|
||||
var worldWidth = 0
|
||||
private set
|
||||
/** World height in pixels */
|
||||
var worldHeight = 0
|
||||
private set
|
||||
|
||||
fun update(world: GameWorld, player: ActorWithBody?) {
|
||||
if (player == null) return
|
||||
|
||||
Reference in New Issue
Block a user