Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
fix objects not falling off platform when not overlapping
Browse files Browse the repository at this point in the history
  • Loading branch information
slmjkdbtl committed Mar 8, 2023
1 parent 8d6ac55 commit 1739d72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kaboom",
"description": "kaboom.js is a JavaScript library that helps you make games fast and fun!",
"version": "3000.0.0-beta.2",
"version": "3000.0.0-beta.3",
"license": "MIT",
"homepage": "https://kaboomjs.com/",
"repository": "github:replit/kaboom",
Expand Down
4 changes: 2 additions & 2 deletions src/kaboom.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const VERSION = "3000.0.0-beta.2"
const VERSION = "3000.0.0-beta.3"

import initApp from "./app"

Expand Down Expand Up @@ -4657,7 +4657,7 @@ export default (gopt: KaboomOpt = {}): KaboomCtx => {

if (curPlatform) {
if (
!this.isColliding(curPlatform)
!this.isOverlapping(curPlatform)
|| !curPlatform.exists()
|| !curPlatform.is("body")
) {
Expand Down

0 comments on commit 1739d72

Please sign in to comment.