Skip to content

Commit

Permalink
global to local function
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Sep 16, 2020
1 parent d188b17 commit 0499807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/authentication.gui_script
Expand Up @@ -2,7 +2,7 @@ local dirtylarry = require "dirtylarry.dirtylarry"
local monarch = require "monarch.monarch"


function gpgs_callback(self, message_id, message)
local function gpgs_callback(self, message_id, message)
if message_id == gpgs.MSG_SIGN_IN or message_id == gpgs.MSG_SILENT_SIGN_IN then
if message.status == gpgs.STATUS_SUCCESS then
gui.set_text(gui.get_node("id"), gpgs.get_id())
Expand Down

0 comments on commit 0499807

Please sign in to comment.