MCPcopy Create free account
hub / github.com/demoth/jake2 / InsertFromDefer

Method InsertFromDefer

qcommon/src/main/java/jake2/qcommon/exec/Cbuf.java:208–211  ·  view source on GitHub ↗

Puts all remaining commands from deferredBuffer to main Buffer. Used to delay command execution before loading map (like map q2dm1; give all)

()

Source from the content-addressed store, hash-verified

206 * Used to delay command execution before loading map (like map q2dm1; give all)
207 */
208 public static void InsertFromDefer() {
209 buffer.addAll(deferredBuffer);
210 deferredBuffer.clear();
211 }
212
213 public static void reconfigure(List<String> args, boolean clear) {
214 String dir = Cvar.getInstance().Get("cddir", "", CVAR_ARCHIVE).string;

Callers 1

SV_Begin_fMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected