Skip to content

Commit

Permalink
Fix bug that breaks the whole script
Browse files Browse the repository at this point in the history
  • Loading branch information
fewkz committed Sep 26, 2022
1 parent 1b87927 commit e02fa96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can download a build with the server and client code included from [GitHub R

You can also add realism to your project via [Wally](https://wally.run/) by adding the following dependencies.
```lua
CharacterRealismClient = "fewkz/[email protected].5"
CharacterRealismClient = "fewkz/[email protected].6"
CharacterRealismServer = "fewkz/[email protected]"
```

Expand Down
2 changes: 1 addition & 1 deletion client/src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ local function addMotor(rotator: Rotator, motor: Motor6D, rigType: Enum.Humanoid
motor.Changed:Wait()
end
local data: Motor
if rigType == Enum.RigType.R15 then
if rigType == Enum.HumanoidRigType.R15 then
local origin = motor.Part0:WaitForChild(motor.Name .. "RigAttachment", 4)
assert(origin, "Couldn't get " .. motor.Name .. "RigAttachment")
data = { Motor = motor, Origin = origin }
Expand Down
2 changes: 1 addition & 1 deletion client/wally.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fewkz/character-realism-client"
version = "0.1.5"
version = "0.1.6"
license = "MPL-2.0"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
Expand Down

0 comments on commit e02fa96

Please sign in to comment.