mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Refactor spawn_checks_vr and when it is called
This commit is contained in:
@@ -365,7 +365,7 @@
|
||||
if(!IsJobAvailable(rank))
|
||||
alert(src,"[rank] is not available. Please try another.")
|
||||
return 0
|
||||
if(!attempt_vr(src,"spawn_checks_vr",list())) return 0 // VOREStation Insert
|
||||
if(!spawn_checks_vr(rank)) return 0 // VOREStation Insert
|
||||
if(!client)
|
||||
return 0
|
||||
|
||||
@@ -491,7 +491,6 @@
|
||||
|
||||
|
||||
/mob/new_player/proc/create_character(var/turf/T)
|
||||
if (!attempt_vr(src,"spawn_checks_vr",list())) return 0 // VOREStation Insert
|
||||
spawning = 1
|
||||
close_spawn_windows()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user