Commit 0410b8a1 authored by Martin Taibr's avatar Martin Taibr

minor optimization

parent 936ebc01
Pipeline #5593016 failed with stage
in 14 minutes and 11 seconds
......@@ -281,8 +281,7 @@ MUTATOR_HOOKFUNCTION(ok, OnEntityPreSpawn)
wep.nextthink = time + 0.1;
return true;
}
if(ent.classname == "item_invincible")
else if(ent.classname == "item_invincible")
{
entity wep = new(weapon_rpc);
setorigin(wep, ent.origin);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment