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

paranoia

parent 6330da45
No related branches found
No related tags found
No related merge requests found
......@@ -348,7 +348,9 @@ newEntity{
function(self, who)
local tg = {type="ball", range=0, radius=self.material_level + 1, selffire=false}
local weapon = who:hasStaffWeapon()
if not weapon then return end
local combat = weapon.combat
if not combat then return end
local DamageType = require "engine.DamageType"
local damtype = combat.damtype
......
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