mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
- Chef and bartender now both have access to the bar area. Bartender has his shotgun and shaker spawn in his back room, which now has wooden floor and tables. Booze-o-mat is now bartender-access.
- Split the items in the engivend vending machine into the engivend machine, which retained the circuitboards, belts and got power cells; and the YouTool vending machine, which has tools and gloves and such. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4157 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -230,7 +230,12 @@
|
||||
usr << "\red You already voted in this poll."
|
||||
return
|
||||
|
||||
var/DBQuery/insert_query = dbcon.NewQuery("INSERT INTO erro_poll_vote VALUES (null, Now(), [pollid], [optionid], '[usr.ckey]', '[usr.client.address]')")
|
||||
var/adminrank = "Player"
|
||||
if(usr && usr.client && usr.client.holder)
|
||||
adminrank = usr.client.holder.rank
|
||||
|
||||
|
||||
var/DBQuery/insert_query = dbcon.NewQuery("INSERT INTO erro_poll_vote (`id` ,`datetime` ,`pollid` ,`optionid` ,`ckey` ,`ip` ,'adminrank') VALUES (null, Now(), [pollid], [optionid], '[usr.ckey]', '[usr.client.address]', '[adminrank]')")
|
||||
insert_query.Execute()
|
||||
|
||||
usr << "\blue Vote successful."
|
||||
|
||||
Reference in New Issue
Block a user