mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Runtime fixes:
runtime error: list index out of bounds proc name: attack (/obj/item/weapon/gun/projectile/russian/attack) runtime error: Cannot read null.loc proc name: Topic (/mob/living/silicon/pai/Topic) I've also added Pewter to the list of spriters. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4553 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -105,6 +105,10 @@
|
||||
|
||||
/obj/item/weapon/gun/projectile/russian/attack(atom/target as mob|obj|turf|area, mob/living/user as mob|obj)
|
||||
|
||||
if(!loaded.len)
|
||||
user.visible_message("\red *click*", "\red *click*")
|
||||
return
|
||||
|
||||
if(isliving(target) && isliving(user))
|
||||
if(target == user)
|
||||
var/datum/organ/external/affecting = user.zone_sel.selecting
|
||||
|
||||
Reference in New Issue
Block a user