•Sanitised the posters' sleep() in the walls' attackby()s. Rare runtime should be fixed.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3452 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
polyxenitopalidou@gmail.com
2012-04-13 21:36:27 +00:00
parent fc50dd0303
commit f50c180eb5
2 changed files with 8 additions and 1 deletions
+8
View File
@@ -524,8 +524,12 @@
var/temp_loc = user.loc
P.resulting_poster.icon_state = "poster_being_set"
playsound(P.resulting_poster.loc, 'poster_being_created.ogg', 100, 1)
sleep(22)
if(!P)
return
if(user.loc == temp_loc)//Let's check if he still is there
user << "<FONT COLOR='blue'>You place the poster!</FONT>"
P.resulting_poster.icon_state = temp
@@ -796,8 +800,12 @@
var/temp_loc = user.loc
P.resulting_poster.icon_state = "poster_being_set"
playsound(P.resulting_poster.loc, 'poster_being_created.ogg', 100, 1)
sleep(22)
if(!P)
return
if(user.loc == temp_loc)//Let's check if he still is there
user << "<FONT COLOR='blue'>You place the poster!</FONT>"
P.resulting_poster.icon_state = temp
-1
View File
@@ -179,7 +179,6 @@
#define FILE_DIR "icons/vending_icons"
#define FILE_DIR "interface"
#define FILE_DIR "maps"
#define FILE_DIR "maps/backup"
#define FILE_DIR "sound"
#define FILE_DIR "sound/AI"
#define FILE_DIR "sound/ambience"