Skip to content

Commit

Permalink
fix fullTummy crash
Browse files Browse the repository at this point in the history
  • Loading branch information
modestimpala committed Sep 8, 2024
1 parent d616e5f commit 0191c35
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ return {
execute = function()
local FirstPlayerController = UEHelpers.GetPlayerController()
local Pawn = FirstPlayerController.Pawn
local cake = StaticFindObject("/Game/objects/prop_food_cake.prop_food_cake_C")
local out = {}
local out2 = nil
Pawn:addFood(100, 0, 0, cake, false, out)
local saveSlot = FindFirstOf("saveSlot_C")
saveSlot.food = 100
return true
end
}

0 comments on commit 0191c35

Please sign in to comment.