Runtime fix: N00k agents on spawn were causing a runtime here.

This commit is contained in:
Ccomp5950
2013-12-07 05:18:27 -06:00
parent fea1819260
commit 570c98f0e2

View File

@@ -269,6 +269,7 @@ client/proc/add_gun_icons()
screen += usr.gun_run_icon
client/proc/remove_gun_icons()
if(isnull(usr)) return 1 // Runtime prevention on N00k agents spawning with SMG
screen -= usr.item_use_icon
screen -= usr.gun_move_icon
if (target_can_move)