Skip to content

Commit 669a55e

Browse files
authored
Update rewarded_break function to include status parameter
1 parent c8cfb3e commit 669a55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Make sure that audio and keyboard input are disabled during `commercial_break` a
8181
-- gameplay stops
8282
-- fire your mute audio function, for example:
8383
sound.pause("#music", true)
84-
poki_sdk.rewarded_break(function(self)
84+
poki_sdk.rewarded_break(function(self, status)
8585
-- fire your unmute audio function, for example:
8686
if status == poki_sdk.REWARDED_BREAK_ERROR or
8787
status == poki_sdk.REWARDED_BREAK_SUCCESS then

0 commit comments

Comments
 (0)