mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
fixture will drop itself when mined
This commit is contained in:
@@ -27,7 +27,7 @@ internal object SpawnPhysTestBall : ConsoleCommand {
|
||||
ball.elasticity = elasticity
|
||||
ball.applyForce(Vector2(xvel, yvel))
|
||||
|
||||
INGAME.addNewActor(ball)
|
||||
INGAME.queueActorAddition(ball)
|
||||
}
|
||||
else if (args.size == 2) {
|
||||
val elasticity = args[1].toDouble()
|
||||
@@ -36,7 +36,7 @@ internal object SpawnPhysTestBall : ConsoleCommand {
|
||||
ball.setPosition(mouseX, mouseY)
|
||||
ball.elasticity = elasticity
|
||||
|
||||
INGAME.addNewActor(ball)
|
||||
INGAME.queueActorAddition(ball)
|
||||
}
|
||||
else {
|
||||
printUsage()
|
||||
|
||||
Reference in New Issue
Block a user