mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
•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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user