You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latter variable isn't set in cubescript, so players are always spectated when they have a modded map.
Fix was to add the following line to the server-init.cfg:
modifiedmapspectator 1
I therefore recommend to remove either the variable from the checks here:
It seems there are two functions handling this event.
https://github.com/vasyahuyasa/remod-sauerbraten/blob/master/scripts/modules/modmap.cfg
https://github.com/vasyahuyasa/remod-sauerbraten/blob/master/src/fpsgame/server.cpp#L2290:L2346
which is mainly controlled by:
remod-sauerbraten/src/fpsgame/server.cpp
Line 2288 in e729c4b
The latter variable isn't set in cubescript, so players are always spectated when they have a modded map.
Fix was to add the following line to the server-init.cfg:
modifiedmapspectator 1
I therefore recommend to remove either the variable from the checks here:
remod-sauerbraten/src/fpsgame/server.cpp
Line 2341 in e729c4b
or the cubescript module.
The text was updated successfully, but these errors were encountered: