mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Zeus - Don't allow creating a new zeus module if we already are one (#7970)
This commit is contained in:
parent
84b18d3f06
commit
0f6a9ecb87
@ -15,6 +15,9 @@
|
||||
* Public: No
|
||||
*/
|
||||
|
||||
// Don't allow if we already are a zeus, intentionally using player instead of ace_player
|
||||
if (!isNull getAssignedCuratorLogic player) exitWith { false };
|
||||
|
||||
(isNil QGVAR(zeus)) && {
|
||||
switch (GVAR(canCreateZeus)) do {
|
||||
case CAN_CREATE_ADMIN: {isServer || {IS_ADMIN_LOGGED}};
|
||||
|
Loading…
Reference in New Issue
Block a user