mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
fixes can_vote runtime
This commit is contained in:
@@ -30,11 +30,11 @@
|
||||
callHook("mob_login", list("client" = client, "mob" = src))
|
||||
|
||||
new_player_panel()
|
||||
|
||||
|
||||
spawn(30)
|
||||
// Annoy the player with polls.
|
||||
establish_db_connection()
|
||||
if(dbcon.IsConnected() && client.can_vote())
|
||||
if(dbcon.IsConnected() && client && client.can_vote())
|
||||
var/isadmin = 0
|
||||
if(client && client.holder)
|
||||
isadmin = 1
|
||||
@@ -46,7 +46,7 @@
|
||||
break
|
||||
if(newpoll)
|
||||
client.handle_player_polling()
|
||||
|
||||
|
||||
if(ckey in deadmins)
|
||||
verbs += /client/proc/readmin
|
||||
spawn(40)
|
||||
|
||||
Reference in New Issue
Block a user