fixed a bug where wires cause quicksave to fail

This commit is contained in:
minjaesong
2021-09-30 10:44:48 +09:00
parent 277ecbcebd
commit 588ac047db
7 changed files with 29 additions and 25 deletions

View File

@@ -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