mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Another stack of runtime errors dealt with.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@260 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -92,15 +92,16 @@ obj/structure
|
||||
if (src.icon_state == "reinforced") //Time to finalize!
|
||||
user << "\blue Now finalising reinforced wall."
|
||||
sleep(50)
|
||||
if(get_turf(user) == T)
|
||||
user << "\blue Wall fully reinforced!"
|
||||
var/turf/Tsrc = get_turf(src)
|
||||
Tsrc.ReplaceWithRWall()
|
||||
W:amount--
|
||||
if (W:amount <= 0)
|
||||
del(W)
|
||||
del(src)
|
||||
return
|
||||
if(W)
|
||||
if(get_turf(user) == T)
|
||||
user << "\blue Wall fully reinforced!"
|
||||
var/turf/Tsrc = get_turf(src)
|
||||
Tsrc.ReplaceWithRWall()
|
||||
W:amount--
|
||||
if (W:amount <= 0)
|
||||
del(W)
|
||||
del(src)
|
||||
return
|
||||
else
|
||||
user << "\blue Now reinforcing girders"
|
||||
sleep(60)
|
||||
|
||||
Reference in New Issue
Block a user