Skip to content

Commit

Permalink
Fixed Small Error
Browse files Browse the repository at this point in the history
  • Loading branch information
bleonheart committed Sep 23, 2024
1 parent d7da68d commit 2762d75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lilia/modules/core/permissions/commands/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ lia.command.add("chargetup", {
onRun = function(client)
if not client:hasRagdoll() then client:notify("You don't have a ragdoll to get up from!") end
local entity = client:getRagdoll()
if not IsValid(entity) then return end
if entity.liaGrace and entity.liaGrace < CurTime() and entity:GetVelocity():Length2D() < 8 and not entity.liaWakingUp then
entity.liaWakingUp = true
client:setAction("@gettingUp", 5, function()
Expand Down

0 comments on commit 2762d75

Please sign in to comment.