Skip to content
Closed

d #96

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Artifacts/gathering.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ gm.post_code_execute("gml_Object_oEfGold_Create_0", function(self, other)
local set_visible -- needs to be done, because otherwise set_visible would be out of scope in set_invisible
local function set_invisible()
if gm.instance_exists(self) then
self.visible = false
self.image_alpha = 0
Alarm.create(set_visible, 3)
end
end
set_visible = function()
if gm.instance_exists(self) then
self.visible = true
self.image_alpha = 1
Alarm.create(set_invisible, 7)
end
end
Expand Down
Loading