Skip to content

Commit

Permalink
API fail
Browse files Browse the repository at this point in the history
  • Loading branch information
marchc1 committed Dec 28, 2024
1 parent 25f1906 commit 7a595af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/ponder/api_cl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function API.NewStoryboard(addon_name, category_name, storyboard_name)
if not API.RegisteredACSLookup[addon_name] then API.RegisteredACSLookup[addon_name] = {} end
if not API.RegisteredACSLookup[addon_name][category_name] then API.RegisteredACSLookup[addon_name][category_name] = {} end
local storyboards = API.RegisteredACSLookup[addon_name][category_name]
storyboards[#storyboards + 1] = storyboard
storyboards[storyboard_name] = storyboard

return storyboard
end
Expand Down
2 changes: 1 addition & 1 deletion lua/ponder/storyboards_cl/test_storyboard.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local storyboard = Ponder.API.NewStoryboard("Ponder", "Tests", "Taking a Shower")
storyboard:WithSpawnIcon("models/props_interiors/BathTub01a.mdl")

storyboard:WithDescription("How to take a shower.")
local chapter1 = storyboard:Chapter()
chapter1:AddInstruction("PlaceModel", {
Name = "Bathtub",
Expand Down

0 comments on commit 7a595af

Please sign in to comment.