mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Filter entities
This commit is contained in:
@@ -118,22 +118,6 @@ abstract class UltralightWindow
|
||||
{
|
||||
CopyToImmediateTexture();
|
||||
CopyToBackBuffer();
|
||||
|
||||
if (Input.IsKeyPressing(Key.A))
|
||||
{
|
||||
ULString str = ulCreateString("window.updateEntities([])");
|
||||
ULString exception = null;
|
||||
ulViewEvaluateScript(_view, str, &exception);
|
||||
|
||||
if (exception != null && ulStringGetLength(exception) != 0)
|
||||
{
|
||||
StringView ex = StringView(ulStringGetData(exception), ulStringGetLength(exception));
|
||||
|
||||
Log.EngineLogger.Error($"Failed to evaluate script: {ex}");
|
||||
}
|
||||
|
||||
ulDestroyString(str);
|
||||
}
|
||||
}
|
||||
|
||||
private void CreateTexture()
|
||||
|
||||
Reference in New Issue
Block a user