Skip to content

Commit

Permalink
Feat: roundstart timelock checks (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
goose4429 authored Jun 22, 2022
1 parent c6d1ea1 commit ff33a47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/controllers/subsystem/job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ SUBSYSTEM_DEF(job)
if(!job.player_old_enough(player.client))
JobDebug("AR player not old enough, Player: [player], Job:[job.title]")
return FALSE
if(job.required_playtime_remaining(player.client))
JobDebug("AR player does not have enough job exp, Player: [player], Job:[job.title]")
return FALSE
if(ismarinejob(job))
if(!handle_initial_squad(player, job, latejoin, job.faction))
JobDebug("Failed to assign marine role to a squad. Player: [player.key] Job: [job.title]")
Expand Down

0 comments on commit ff33a47

Please sign in to comment.