Skip to content

Commit bbe9aff

Browse files
committed
added new is_game_paused method
1 parent e69f490 commit bbe9aff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

misc_methods.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,8 @@ function api_toggle_menu(menu_id, toggle) end
6767
---
6868
---@param quest_id string the quest id used when defining your quest
6969
---@return string|nil If this method worked it will return Success, otherwise if it fails it will return nil and will log an error in the Modding Console.
70-
function api_unlock_quest(quest_id) end
70+
function api_unlock_quest(quest_id) end
71+
72+
---
73+
---@return boolean returns if the game is paused or not.
74+
function api_is_game_paused() end

0 commit comments

Comments
 (0)