i dont think this should be transient

This commit is contained in:
minjaesong
2021-08-28 21:53:11 +09:00
parent bf1b203633
commit 02f5abe763

View File

@@ -310,7 +310,7 @@ open class ActorWithBody : Actor {
var isWalkingH = false
var isWalkingV = false
@Transient private var stairPenaltyMax = 1
private var stairPenaltyMax = 1
private var stairPenaltyCounter = 0 // unit: update count. 1 second is roughly 64 updates.
private var stairPenaltyVector = 1.0