mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +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:
@@ -198,6 +198,7 @@
|
|||||||
var/mob/living/M = src.loc
|
var/mob/living/M = src.loc
|
||||||
var/count = 0
|
var/count = 0
|
||||||
while(!istype(M, /mob/living))
|
while(!istype(M, /mob/living))
|
||||||
|
if(!M || !M.loc) return 0 //For a runtime where M ends up in nullspace (similar to bluespace but less colourful)
|
||||||
M = M.loc
|
M = M.loc
|
||||||
count++
|
count++
|
||||||
if(count >= 6)
|
if(count >= 6)
|
||||||
|
|||||||
@@ -105,6 +105,10 @@
|
|||||||
|
|
||||||
/obj/item/weapon/gun/projectile/russian/attack(atom/target as mob|obj|turf|area, mob/living/user as mob|obj)
|
/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(isliving(target) && isliving(user))
|
||||||
if(target == user)
|
if(target == user)
|
||||||
var/datum/organ/external/affecting = user.zone_sel.selecting
|
var/datum/organ/external/affecting = user.zone_sel.selecting
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td valign='top'>
|
<td valign='top'>
|
||||||
<font size='2'><b>Coders:</b> TLE, NEO, Errorage, muskets, veryinky, Skie, Noise, Numbers, Agouri, Noka, Urist McDorf, Uhangi, Darem, Mport, rastaf0, Doohl, Superxpdude, Rockdtben, ConstantA, Petethegoat, Kor, Polymorph, Carn, Nodrak, Donkie, Sieve, Giacom, trubble_bass.<br></font>
|
<font size='2'><b>Coders:</b> TLE, NEO, Errorage, muskets, veryinky, Skie, Noise, Numbers, Agouri, Noka, Urist McDorf, Uhangi, Darem, Mport, rastaf0, Doohl, Superxpdude, Rockdtben, ConstantA, Petethegoat, Kor, Polymorph, Carn, Nodrak, Donkie, Sieve, Giacom, trubble_bass.<br></font>
|
||||||
<font size='2'><b>Spriters:</b> Agouri, Cheridan, Cruazy Guest, Deeaych, Deuryn, Matty406, Microwave, ShiftyEyesShady, Skie, Uhangi, Veyveyr, Petethegoat, Kor, Ricotez, Ausops, TankNut<br></font>
|
<font size='2'><b>Spriters:</b> Agouri, Cheridan, Cruazy Guest, Deeaych, Deuryn, Matty406, Microwave, ShiftyEyesShady, Skie, Uhangi, Veyveyr, Petethegoat, Kor, Ricotez, Ausops, TankNut, Pewtershmitz<br></font>
|
||||||
<font size='2'><b>Sounds:</b> Skie, Lasty/Vinyl<br></font>
|
<font size='2'><b>Sounds:</b> Skie, Lasty/Vinyl<br></font>
|
||||||
<font size='2'><b>Thanks to:</b> Baystation 12, CDK Station devs, GoonStation devs, the original SpaceStation developers and Invisty for the title image<br></font>
|
<font size='2'><b>Thanks to:</b> Baystation 12, CDK Station devs, GoonStation devs, the original SpaceStation developers and Invisty for the title image<br></font>
|
||||||
<font size='2' color='red'><b><br>Have a bug to report?</b> Visit our <a href="http://code.google.com/p/tgstation13/issues/list">Issue Tracker</a>.<br></font>
|
<font size='2' color='red'><b><br>Have a bug to report?</b> Visit our <a href="http://code.google.com/p/tgstation13/issues/list">Issue Tracker</a>.<br></font>
|
||||||
|
|||||||
Reference in New Issue
Block a user