mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 17:15:25 +01:00
Adds a timegate on playing maintenance drones
This commit is contained in:
@@ -116,6 +116,14 @@
|
||||
to_chat(usr, "<span class='danger'>You are banned from playing synthetics and cannot spawn as a drone.</span>")
|
||||
return
|
||||
|
||||
// VOREStation Addition Start
|
||||
if(isnum(src.client.player_age))
|
||||
var/time_till_play = max(0, 3 - src.client.player_age)
|
||||
if(time_till_play)
|
||||
to_chat(usr, "<span class='danger'>You have not been playing on the server long enough to join as drone.</span>")
|
||||
return
|
||||
// VOREStation Addition End
|
||||
|
||||
if(!MayRespawn(1))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user