Skip to content
Snippets Groups Projects
Commit c7b27b97 authored by DarkGod's avatar DarkGod
Browse files

safety

parent 3d865c39
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -19,6 +19,7 @@
local Chat = require "engine.Chat"
function getGolem(self)
if not self.alchemy_golem then return nil end
if game.level:hasEntity(self.alchemy_golem) then
return self.alchemy_golem, self.alchemy_golem
elseif self:hasEffect(self.EFF_GOLEM_MOUNT) then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment